// 创建一个多维数组 #include <iostream> using namespace std; int main() { int SomeArray[2][5] = { { 0, 1, 2, 3, 4 }, { 0, 2, 4, 6, 8 } }; for (int i = 0; i < 2; i++) { for (int j = 0; j < 5; j++) { cout << "SomeArray[" << i << "][" << j << "]: "; cout << SomeArray[i][j] << endl; } } return 0; }