I have an double subscripted array: int grades[][] = { { 2772, 126, 169, 194, 177 }, { 3375, 163, 188, 189, 185 }, { 4456, 171, 190, 186, 198 } }; The first column is a ID# and the rest are grades. I would like to create a new single subscript array that only contains the grades. What would be the best way to do this? Thanks, Paul
Barry Gaunt
Ranch Hand
Joined: Aug 03, 2002
Posts: 7729
posted
0
You're gonna have to use some kind of loop. Or even loops inside loops. Do some subscripting too, that helps. -Barry