I just finished a class for intro to programming with c++, not my first but my first ones weren't accepted by the college.
The teacher, who admits he's not a programmer, had us visualize two dimensional arrays as var array[y][x];, where as x and y are what you would use in a graph.
or on a spreadsheet table go down, then go across.
I could follow when I was in class with him teaching, but on my own, I do it [x][y]. Is one used more professionally. I would think that my way is more popular as that is how math does it and math is universal. The book supported his method, but I still feel that its wrong somehow.



LinkBack URL
About LinkBacks




). As a beginner I got confused with this quite often, and it quite possible that my greatest evar program contains functions that are supposed to be called both