c++ vector & 二维数组 & MessageBox

vector:

https://www.cnblogs.com/mr-wid/archive/2013/01/22/2871105.html

c++ 二维数组:

int **p;

p = new int *[m];

for(int i = 0; i < m; i++) p[i] = new int[n];

string 转 CString:

string s;

CString ch(s.c_str());

MessageBox:

MessageBox(NULL, ch, "标题", MB_OK);

其中 ch 为 CString 型变量,ch 可换为 “内容”。

原文地址:https://www.cnblogs.com/lxc1910/p/7895108.html