Search

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

Follow by Email