Hi, When I tried to compile this file by g++, I got a error. #include <iostream> int main(){ cout << "Hello World" << endl; }
errors are: test.C: In function `int main()': test.C:3: `cout' undeclared (first use this function) test.C:3: (Each undeclared identifier is reported only once for each function it appears in.) test.C:3: `endl' undeclared (first use this function) Do I need to install some library? Peng -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/