Dear everyone. Is there a way to access columns of a 2D array
efficiently? For instance given Array[m][n], I want to manipulate the
columns Array[0 ... m-1][j] for 0 <= j <= n-1. The way arrays are
stored in C/C++, and their relation to pointers, requires that for
each array element (corresponding to a column) I must skip m-1
elements in the same row in order to get to the next element of the
same column. Thanks.
--
[ See http://www.gotw.ca/resources/clcm.htm
for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]