Quote:
Originally Posted by HarryBoy
Thanks for your reply. I did this and it does not complain about not finding it but it complains on the cout:
Any other ideas??
|
ah yes...cout is in the std namespace so in order to use it you have to specify the namespace, for example: std::cout << "blah";
You can also import the name space entirely (bad idea usually) by
using namespace std; in which case you don't need the "std::" prefix. You can also import individual elements from the namespace (better than getting all of them) by
using std::cout; (and again you can then drop the prefix)