Thursday, June 24, 2010
3:46 PM

‘cout’ was not declared in this scope

After installing g++ if you get the error
‘cout’ was not declared in this scope 
or similar for "cin"
Then the work around is to add using namespace std; after the "#include"

0 comments:

Post a Comment