Автор: Cooller (24.12.2008 в 20:33)
сразу скажу я ламер, учить только начал, учусь по книге Стефана Р. Девиса 4-е издание, первый пример с градусами, перепечатал начал компилировать, выскакивают ошибки, в чём проблема?
Компилятор: Default compiler
Выполнение g++.exe...
g++.exe "C:\Documents and Settings\Администратор\Рабочий стол\Безымянный1.cpp" -o "C:\Documents and Settings\Администратор\Рабочий стол\Безымянный1.exe" -ansi -pg -g3 -I"C:\Dev-Cpp\lib\gcc\mingw32\3.4.2\include" -I"C:\Dev-Cpp\include\c++\3.4.2\backward" -I"C:\Dev-Cpp\include\c++\3.4.2\mingw32" -I"C:\Dev-Cpp\include\c++\3.4.2" -I"C:\Dev-Cpp\include" -L"C:\Dev-Cpp\lib" -lgmon -pg -g3
In file included from C:/Dev-Cpp/include/c++/3.4.2/backward/iostream.h:31,
from C:\Documents and Settings\Администратор\Рабочий стол\Безымянный1.cpp:2:
C:/Dev-Cpp/include/c++/3.4.2/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <iostream> instead of the deprecated header <iostream.h>. To disable this warning use -Wno-deprecated.
C:\Documents and Settings\Администратор\Рабочий стол\Безымянный1.cpp: In function `int main(int, char**)':
C:\Documents and Settings\Администратор\Рабочий стол\Безымянный1.cpp:11: error: `nGahrenheit' undeclared (first use this function)
C:\Documents and Settings\Администратор\Рабочий стол\Безымянный1.cpp:11: error: (Each undeclared identifier is reported only once for each function it appears in.)
C:\Documents and Settings\Администратор\Рабочий стол\Безымянный1.cpp:11:40: invalid suffix "C" on integer constant
Выполнение завершено |