int main(){int s_list[3][2][4] = {{{1,2,3,4},{5,6,7,8}},{{9,8,6,5},{4,3,2,5}},{{6,1,2,3},{8,7,4,6}}}; int*** c = new int** [3]; for (int i = 0; i < 3; i++) { *(c + i) = new int* [2]; for (int j = 0; j < 2; j++) { *(*(c + i) + j) = new int[4]; } } for (int i = 0; i < 3; i++) { for (int j = 0; j < 2; j++) { for (int k = 0; k < 4; k++) { *(*(*(c + i) + j) + k) = s_list[i][j][k]; } } } for (int i = 0; i < 3; i++) { for (int j = 0; j < 2; j++) { for (int k = 0; k < 4; k++) { cout << *(*(*(c + i) + j) + k) << endl; } } }}