📜  c++代码示例中的二维数组

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

代码示例1
int row,col;
cout << "please input how many rows and columns you want accordingly: ";
cin>>row>>col;
//create array in heap.
int **arr=new int*[row];
for(int i=0;i>arr[i][j];
    }
}
//display Elements.
    for(int i=0;i