Created
March 7, 2023 04:21
-
-
Save doccaico/9a23cbda90140d8e4a456df2b0e30494 to your computer and use it in GitHub Desktop.
メッセージボックス Mingw64 日本語
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // gcc main.c -DUNICODE -mwindows; .\a | |
| #include <windows.h> | |
| int WINAPI WinMain(HINSTANCE ins, | |
| HINSTANCE previns, | |
| LPSTR cmdline, | |
| int cmd) { | |
| MessageBox(NULL, TEXT("Hello world."), TEXT("メッセージボックス"), MB_OK); | |
| // MessageBox(NULL, _T("Hello world."), _T("メッセージボックス"), MB_OK); | |
| // MessageBox(NULL, "Hello world.", "Message Box", MB_OK); | |
| return 0; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment