Pages

‘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"

No comments:

Post a Comment