!!!!solved!!! - VS2010 has a bug, works fine with eclipse Galileo
I am working on the 'driver' part of my programing assignment and i keep getting this absurd error - error C2065: 'cout' : undeclared identifier
I have even tried using the std::cout but i get another error that says: IntelliSense: namespace "std" has no member "cout" when i have declared using namespace std, included iostream + i even tried to use ostream
I know it's a standard noob question but this has stumped me and I'm a novice (meaning: I've programed before...)
#include <iostream>
using namespace std;
int main () {
cout << "hey" << endl;
return 0;
}
NOTE: I'm using Visual Studio 2010 - running Windows 7
NOTE: all of the .h files have "using namespace std" - and include io and o streams...