Hey just started messing around with some book on game programming and the first thing it shows me is some simple hello world thing. I've never windows programmed before so I'm clueless. Just C programming. Here's the code:
Code:
//Beginning Game Programming, 2nd Edition
//Chapter 2
//HelloWorld program
#include <windows.h>
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,
LPSTR lpCmdLine, int nShowCmd)
{
MessageBox(NULL, "Motoko Kusanagi has hacked your system!",
"Public Security Section 9", MB_OK | MB_ICONEXCLAMATION);
}
I'm using C++ Express Edition and it says it can't find that library...for windows.h In addtion I can't find a Win32 Project selection on the New Project menu..so I don't know if that's the problem or what.