Hello,
I just downloaded express C++ 2005 ed. and I can't get even a simple
code snippets to compile.
this is just a loop, the compiler does not compiles (cout)
this is what I get:
error C2065: 'cout' : undeclared identifier
Thank YOU:cry:
renny
#include "stdafx.h"
int _tmain(int argc, _TCHAR* argv[])
{
int counter = 0;
while(counter <5)
{
counter++;
cout <<"loping! ";
}
cout<<"\ncounter: " << counter << ".\n";
return 0;
}
EDIT:
I have been programming for about 3 years in Dark Basic Pro. I know not a thing about C++
renny