I assume that if I use the second method I can do:
using std::cout;
using std::endl;
cout << "Stuff" << endl;
Also, whats wrong with namespace std declarations?
Type: Posts; User: ethorad
I assume that if I use the second method I can do:
using std::cout;
using std::endl;
cout << "Stuff" << endl;
Also, whats wrong with namespace std declarations?
Ah, namespace is it, fantastic. Not used to namespaces yet, thanks loads for that. I did think it might be something simple and silly I was missing!
Fast response too!
Cheers :)
Hi guys
I used to program C, but recently took the plunge and decided to de-rust myself and start on Cpp ... however I'm being driven mad by a "cout undeclared" error when I compile and I just...