Last active
August 29, 2015 14:11
-
-
Save bg1bgst333/f7b935c665c6f51cff44 to your computer and use it in GitHub Desktop.
WinMain#WinMain.cpp
This file contains 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
// ヘッダファイルのインクルード | |
#include <windows.h> // 標準WindowsAPI |
This file contains 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
// ヘッダファイルのインクルード | |
#include <windows.h> // 標準WindowsAPI | |
// WinMain関数の定義 | |
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nShowCmd){ // Windowsプログラムのエントリポイント | |
} |
This file contains 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
// ヘッダファイルのインクルード | |
#include <windows.h> // 標準WindowsAPI | |
// WinMain関数の定義 | |
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nShowCmd){ // Windowsプログラムのエントリポイント | |
// 以下の処理を実行 | |
MessageBox(NULL, "WinMain", "WinMain", MB_OK); // MessageBoxで"WinMain"と表示する. | |
} |
This file contains 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
// ヘッダファイルのインクルード | |
#include <windows.h> // 標準WindowsAPI | |
// WinMain関数の定義 | |
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nShowCmd){ // Windowsプログラムのエントリポイント | |
// 以下の処理を実行 | |
MessageBox(NULL, "WinMain", "WinMain", MB_OK); // MessageBoxで"WinMain"と表示する. | |
// プログラムの終了 | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment