RedHat 8 and gcc3.2-7
i have a problem, i recently installed redhat 8 and i was testing the g++ compiler, i used the basic hello world program,
#include <iostream> int main() { std::cout << ¨Hello World¨ << std::endl; return 0; } when i compile i get this error; 0.0.cpp: In function `int main()': 0.0.cpp:6: stray '\302' in program 0.0.cpp:6: stray '\250' in program 0.0.cpp:6: stray '\302' in program 0.0.cpp:6: stray '\250' in program 0.0.cpp:6: `Hello' undeclared (first use this function) 0.0.cpp:6: (Each undeclared identifier is reported only once for each function it appears in.) 0.0.cpp:6: parse error before `<<' token i believe it is not locating the header files which are in /usr/include/c++/3.2 can some one please help me resolve this problem :Pengy: BTW: all development packages are installed |
All times are GMT -5. The time now is 04:50 PM. |