动态申请二维数组 分配 new int m,n; int **p = new int *[m]; for (int i = 0; i < m; i++) { p[i] = new int[n]; } 释放 delete for (i = 0; i < m; i++) delete [] p[i]; delete [] p; C++的预处理程序提供了一组编译预处理命令(宏定义命令、文件包含命令和条件编译命令)和预处理操作符。所有预处理命令以“#”开头,独占一行,不需要用分号结束。