I am a beginner programmer trying to understand C++ better. I am stuck with a problem, I do not understand how to load a 2D array. I have written some code, but when I go over it in my head it makes no sense.
2D arrays are nothing just set 1D arrays. Consider them in Matrix form. In you program it is 8*8 array. Compare the same with 8*8 matrix. Then try to understand the memory allocation for each element.