int *iArray; iArray = new int [7][20][50]; // set values here for (int x = 0; x < 20; x++) { for (int y = 0; y < 50; y++) { // however you want to print... // i.e. cout << iArray[5][x][y] << endl; } }
Hope that's helpful. If you have a problem with my spelling, just remember that's not my fault. I (as well as everyone else who learned to spell after 1976) blame it on Robert A. Kolpek for U.S. Patent 4,136,395.