[an error occurred while processing this directive]
я не настолько знаю стандарт / Нарыл тут вот еще, попробуй, но тогда тебе весь список инита надо писать (+)
(«Телесистемы»: Конференция «Микроконтроллеры и их применение»)
Отправлено
DASM 30 октября 2005 г. 21:19
В ответ на: Ппереведи (с) отправлено
Сергей Борщ 30 октября 2005 г. 21:10
C and C++ const Differences When you declare a variable as const in a C source code file, you do so as: const int i = 2; You can then use this variable in another module as follows: extern const int i; But to get the same behavior in C++, you must declare your const variable as: extern const int i = 2;