2011-12-20
Code @ C++: Find sum of elements in the array
Code @ C++: Find sum of elements in the array: Наткнулся на задачу, которую предлагают в Yandex на собеседовании: Ниже приведены три варианта суммирования чисел с плавающей точкой (предп...
2011-12-12
Emacs column marker
Very often some code style has limited length of code line and its quite good, when IDE knows about such limits.
I've added to Emacs column-marker
(add-to-list 'load-path (expand-file-name "~/emacs/column-marker"))
(require 'column-marker)
(add-hook 'ada-mode-hook (lambda () (interactive) (column-marker-3 79)))
Now, if in Ada code some line exceeds 79-symbols limit, Emacs will highlight it with red.
I've added to Emacs column-marker
(add-to-list 'load-path (expand-file-name "~/emacs/column-marker"))
(require 'column-marker)
(add-hook 'ada-mode-hook (lambda () (interactive) (column-marker-3 79)))
Now, if in Ada code some line exceeds 79-symbols limit, Emacs will highlight it with red.
2011-12-04
Error: Value too large for defined data type
During compilation of program sources in Ubuntu Linux in folder, which was mounted via CIFS from windows I've got the following error from gcc:
Error: Value too large for defined data type
At the first thought it is an error in gcc, but actually the problem was in mounting directory via CIFS .
To fix this error the following options should be added to fstab or mount command line:
Error: Value too large for defined data type
At the first thought it is an error in gcc, but actually the problem was in mounting directory via CIFS .
To fix this error the following options should be added to fstab or mount command line:
nounix,noserverino
I've got this info from here.
Subscribe to:
Posts (Atom)