I am a novice in C++ and I am trying to create a simple static 3 Dimensional Array and then print it out in console.
Here is my current code:
#include &l
you array MyArray[MAX_ROW][MAX_COL][MAX_HEIGHT] only can hold 2*2*2=8 elements, but
MyArray[MAX_ROW][MAX_COL][MAX_HEIGHT]
{ {1,1}, {2,10}, {3,15}, {4,20}, {5,25}, {6,30}, {7,35}, {8,40} };
has 16 elements. so there are too many initializers