Okay, so I'm using g++ and am getting an error that cout is not defined even when I include iostream:
Error:Code:#include <iostream> int main() { cout << "This should show up!" << endl; return 0; }
Code:testclr.cpp: In function `int main()': testclr.cpp:2: error: `cout' undeclared (first use this function) testclr.cpp:2: error: (Each undeclared identifier is reported only once for each function it appears in.) testclr.cpp:2: error: `endl' undeclared (first use this function)