I am working on the \'driver\' part of my programing assignment and i keep getting this absurd error:
error C2065: \'cout\' : undeclared identifier
Try it, it will work. I checked it in Windows XP, Visual Studio 2010 Express.
#include "stdafx.h" #include using namespace std; void main( ) { int i = 0; cout << "Enter a number: "; cin >> i; }