306698_0_5874.cpp:1: error: expected constructor, destructor, or type conversion before "a"
306698_0_5874.cpp:1: error: expected `,' or `;' before "a"
306698_0_5874.cpp:1: error: invalid token
In file included from GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/cmath:49,
from 306698_0_5874.cpp:2:
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/mingw32/bits/c++config.h:61: error: expected namespace-name before ';' token
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/mingw32/bits/c++config.h:61: error: `<type error>' is not a namespace
306698_0_5874.cpp: In function `int main()':
306698_0_5874.cpp:10: error: `cin' undeclared (first use this function)
306698_0_5874.cpp:10: error: (Each undeclared identifier is reported only once for each function it appears in.)
306698_0_5874.cpp:22: error: call of overloaded `abs(int&)' is ambiguous
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/cmath:89: note: candidates are: double std::abs(double)
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/cmath:93: note: float std::abs(float)
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/cmath:97: note: long double std::abs(long double)
306698_0_5874.cpp:22: error: call of overloaded `abs(int&)' is ambiguous
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/cmath:89: note: candidates are: double std::abs(double)
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/cmath:93: note: float std::abs(float)
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/cmath:97: note: long double std::abs(long double)
306698_0_5874.cpp:30: error: `cout' undeclared (first use this function)
306698_0_5874.cpp:32: error: `endl' undeclared (first use this function)
|