Using arrays : Two-dimensional C array on newest questions tagged arrays – Stack Overflow

I’m making a four in a row app, or, at least a class which calculates the best moves and stuff. The game board has a height of 6 and a width of 7. I’m not sure if I should name the instance variable gamePosition[6][7] or gamePosition[7][6]. I know it doesn’t matter which one I would use, but is one more common than another? I want to do this the right way right away.

See Answers


source: http://stackoverflow.com/questions/11277400/two-dimensional-c-array
Using arrays : using-arrays



online applications demo