nick@nick:/tmp> cat test.cpp
main()
{
char * x;
int i = static_cast<int>(x);
}
nick@nick:/tmp> gcc test.cpp
test.cpp: In function ‘int main()’:
test.cpp:4: error: invalid static_cast from type ‘char*’ to type ‘int’
nick@nick:/tmp> uname -a
Linux nick 2.6.16.13-4-default #1 Wed May 3 04:53:23 UTC 2006 x86_64 x86_64 x86_64 GNU/Linux
nick@nick:/tmp> 
Ответ на:
комментарий
от anonymous

Ответ на:
комментарий
от frame
Ответ на:
комментарий
от anonymous
Ответ на:
комментарий
от anonymous
Ответ на:
комментарий
от anonymous
Ответ на:
комментарий
от anonymous
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.