📜  数组 2d 动态分配 c++ 代码示例

📅  最后修改于: 2022-03-11 14:44:54.654000             🧑  作者: Mango

代码示例1
int** a = new int*[rowCount];
for(int i = 0; i < rowCount; ++i)
    a[i] = new int[colCount];