I get these error messages for all cout and endl:
cout
endl
main.cc:17:5: error: ‘cout’ was not declared in this scope main.cc:17:5: note: sugges
You could use the namespace
http://www.daniweb.com/software-development/cpp/threads/109029/what-its-the-use-of-using-namespace-std
But you might offend someone
Why is "using namespace std" considered bad practice?