int array[2][2]={{1,2},{3,4}};
array[0][0] = 1
array[1][0] = 3
int** array = new int*[2]; //第一步
for(int i=0; i<2; i++){
array[i] = new int[3]; //第二步
}
for(int i=0; i<2; i++){
for(int j=0; j<3; j++){
array[i][j] = i+j;
}
}
[ array[0][0] = 0, array[0][1] = 1, array[0][2] = 2
array[1][0] = 1, array[1][1] = 2, array[1][2] = 3 ]
for(int i=0; i<2; i++){
delete[] array[i]; //第一步
}
delete[] array; //第二步
array[0][0] = 0
array[1][2] = 3