ex2_1.cpp

来自「mfc例题与练习第二版 例题与练习第二版」· C++ 代码 · 共 14 行

CPP
14
字号
// 【例2.1】一个对话框的简单Windows程序。
//Ex2_1.cpp : Defines the entry point for the application.

#include "stdafx.h"

int APIENTRY WinMain(HINSTANCE hInstance,
                     HINSTANCE hPrevInstance,
                     LPSTR     lpCmdLine,
                     int       nCmdShow)
{
 	// TODO: Place code here.
MessageBox(NULL,"This is a MessageBox windows example",	"Ex2_1",MB_OK);
	return 0;
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?