i have microsoft visual C++ 2005 express edition,i would also like to mention i am new at this,very new,and i am following along with a book called "Beginning Game Programming" by Johnathan S. harbour.i have created a project,set it up the way i belive it should be set up and its a basic program here it is:
// HelloWorld Program
#include
<windows.h>int
WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,LPSTR lpCmdLine,
int cShowCmd){
MessageBox(NULL,
"All your base are belong to us!", "Hello World" MB_OK | MB_ICONEXCLAMATION);}
In the error description box it says <windows.h> isnt found but its listed in the book im using. The error box itself says this: "There were build errors, would you like to continue and run the last succesful build". I then choose "OK" and it says this: "The system cannot find the file specified". Now iv looked this up and it seems to be error 2 yet i cant find out how to correct the problem. So far this is the only project iv done and i cant get it to work right.Please help me solve my problem, thank's in advance.