360718_0_3029.cpp:3: error: `main' must return `int'
360718_0_3029.cpp: In function `int main(...)':
360718_0_3029.cpp:5: error: `cout' undeclared (first use this function)
360718_0_3029.cpp:5: error: (Each undeclared identifier is reported only once for each function it appears in.)
360718_0_3029.cpp:6: error: `cin' undeclared (first use this function)
360718_0_3029.cpp:19: error: `endl' undeclared (first use this function)
In file included from 360718_0_3029.cpp:22:
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/backward/iostream.h: At global scope:
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/backward/iostream.h:40: error: `cout' is already declared in this scope
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/backward/iostream.h:41: error: `cin' is already declared in this scope
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/backward/iostream.h:52: error: `endl' is already declared in this scope
360718_0_3029.cpp: In function `int main()':
360718_0_3029.cpp:34: error: declaration of C function `int main()' conflicts with
360718_0_3029.cpp:3: error: previous declaration `int main(...)' here
|