It does not matter which IDE I use for C++, I get an error when I put "cin >> i;" in a source. All of the IDE's: Codelite, Netbeans, and Anjuta are using GNU g++. Codelite gives the errors
47: error: ‘cout’ was not declared in this scope
49: error: ‘cin’ was not declared in this scope.
When I change to Cobra in Codelite, the errors go away. What am I doing wrong?