| Description
A simple messagebox
example , the hello world of Windows
programming.
Code
/*works on Visual
C++ and LCC win32*/
#include <windows.h>
int WINAPI WinMain(HINSTANCE
hInstance, HINSTANCE hPrevInstance,
LPSTR lpCmdLine, int nCmdShow)
{
MessageBox (NULL, "Hello World"
, "Hello", 0);
return 0;
}
Information
This code will work
with Visual C++ , LCC Win 32 and Dev
C++
|