i am just trying basic C++ GUI and i ran this code from a tutorial site.
#include <windows.h>
int WINAPI WinMain(HINSTANCE hInst, HINSTANCE hPrev, LPSTR pszCmdLine, int iCmdShow)
{
MessageBox(NULL, "Hello World", "Testing", 0);
return 0;
}
when i run it, it executes and makes a animation of a bouncing ball. any ideas on what made this so messed up?
-using visual C++ 2008
-running vista 64 bit, home edition