Thread
:
one array values to a two dimension array
View Single Post
01-29-2006, 11:47 AM
#
3
(
permalink
)
destin
Code Monkey
Join Date: Mar 2005
Location: NJ
Posts: 40
Or, a little less complicated:
Code:
for (int i = 0; i < 4; i++) for (int j = 0; j < 4; j++) Two[i][j] = array[j + 4 * i];
destin
View Public Profile
Find More Posts by destin