Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

wat

Name: Anonymous 2009-02-19 15:36

I compile the following code in Microsoft Visual Studio 2008:

#include <windows.h>

int WINAPI
WinMain(HINSTANCE hInst, HINSTANCE hPrev, LPSTR lpCmdLine, int nCmdShow)
{
    MessageBox(NULL, "Hello World", "Notes!", MB_OK);
    return 0;
}

And the output is in some crazy moon runes that I don't understand (east-asian characters), rather than the plain "Hello World" I was expecting. What gives?

Name: Anonymous 2009-02-19 16:12

Harry Potter is a fictional story about fictional magic.
SICP is a real book about real magic.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List