#include "stdafx.h"
On a different subject, you may be pleased to know that you can disable precompiled headers in MSVC++ 2003 (And probably 2005 too, although i've never used 2005) - right click on your project in the solution explorer window, and choose "properties"
in the left-hand pane of the properties window, expand on the item/folder called C/C++
From the list of C/C++ options, choose "Precompiled headers"
Go to the right-hand pane now, and change the option to "Not Using Precompiled Headers"
the 2 boxes beneath can be cleared and left blank
press "OK".
Now you will not get the error when you compile your project without stdafx.h