I'm reading a tutorial on Win32 app programming and its done in C which I don't know (I don't really know any C++) but I figured I'd give it a shot (I do know some java). I'm using Visual C++ in visual studio so I made an empty project file and put in this code:
I compiled it and got errors but then I realized that it was a .cpp file and just renamed it to a .c file. It then compiled and ran but the message that popped up was in like japanese or something. It was characters.Code:#include <windows.h> int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow) { MessageBox(NULL, "Goodbye, cruel world!", "Note", MB_OK); return 0; }