I searched the forum but I didn't find anything even remotely close to the simplicity of my problem...
I don't need help with homework, have a big project due, or have a reason to rely on C++... yet. I just have one simple question about this damn C2065 error claiming I have an undeclared identifier. I did nothing but write one line of code to begin a hello world program and I am instantly hit with this identifier problem at every turn. It is very disheartening. I have done some research but none of the suggestions about how to fix the MSVC++ complier help.
How come the following code:
Returns a damn error. This is getting quite annoying. I always considered myself pretty quick at catching on and then I spent an hour dealing with this.Code:#include "stdafx.h" int _tmain(int argc, _TCHAR* argv[]) { printf( "Hello World!" ); cout<<"hello world!"; return 0; }





Reply With Quote