#define WIN32_LEAN_AND_MEAN #include #include #include #include int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nShowCmd) { char msg[30]; srand(time(NULL)); int whichMsg = rand()%5; switch (whichMsg) { case 0: strcpy(msg, "WolfKlaw is teh pwnage!"); break; case 1: strcpy(msg, "WK is teh anti-sux!"); break; case 2: strcpy(msg, "w00 for teh WolfKlaw!"); break; case 3: strcpy(msg, "WK == ownz0r!"); break; case 4: strcpy(msg, "Yo, WK -- you rock!"); break; default: break; } MessageBox(NULL, msg, "WolfKlaw pwns.", MB_OK); return(0); }