📅  最后修改于: 2022-03-11 14:44:54.424000             🧑  作者: Mango
int arrayOne[100]; /// One dimensional
int arrayTwo[10][10];
for(int i = 0;i<10;i++){
for(int j = 0;j<10;j++){
arrayTwo[i][j] = arrayOne[(i * 10) + j];
//replace 10 width the width of the array when its multidimensional
}
}
//pee pee poo poo :))))(((