choppysuey
Technical User
Hi all, could someone give me a hand?
Due to my lack of c++ programming skills I'm having trouble creating a nested for loop that would walk through a 6x6 2-D array in the following manner:
element[0][0]
element[0][1]
element[1][0]
element[1][1]
element[0][2]
element[0][3]
element[1][2]
element[1][3]
element[0][4]
element[0][5]
element[1][4]
element[1][5]
element[2][0]
element[2][1]
element[3][0]
element[3][1]
etc....
Due to my lack of c++ programming skills I'm having trouble creating a nested for loop that would walk through a 6x6 2-D array in the following manner:
element[0][0]
element[0][1]
element[1][0]
element[1][1]
element[0][2]
element[0][3]
element[1][2]
element[1][3]
element[0][4]
element[0][5]
element[1][4]
element[1][5]
element[2][0]
element[2][1]
element[3][0]
element[3][1]
etc....