1 //++++++++++++++++++++++++++
2 // EasyWins.cpp
3 //++++++++++++++++++++++++++
4
5 ///#include header
6 #include <windows.h>
7
8 ///main_in
9 main()
10 {
11 ///Display window
12 MessageBox(0, "Hello Windows !" , "Simplest Windows C" ,MB_ICONEXCLAMATION | MB_OK | MB_SYSTEMMODAL);
13
14 ///main_end
15 } //main_end
16
This Blog is dedicated to Sir Johnson Lin
最簡單C++視窗程式 use MessageBox to build the most compact, most concise Windows program " Hello World ! "
訂閱:
張貼留言 (Atom)
沒有留言:
張貼留言