I'm doing a C++ video tutorial. They tutors are using Visual Studio 2003, I'm using Visual Studio 2005. Compiling the code just below worked fine for them:


Code:
#include <iostream>

main[]
{
	std;;cout << "Hello World!" << std;;endl;
}
When I tried to compile it I get this error:

Code:
 end of file while looking for precompiled header. Did you forget to add '#include "stdafx.h"' to your source?

I don't know what any of this stuff means yet but my C++ project is a Win32 Console Application.

Last edited by shabbir; 17Apr2007 at 13:19.. Reason: Code formatting.