W
wallacej
Hi
I have a 2D array : imageTileArray and I would like to traverse it i.e.
visit every entry in the array sequentially. I've had a go at doing it
myself as follows but i get address violations:
for(i=0; i < sizeof(imageTileArray); i++) {
for(j=0; j < sizeof(imageTileArray[j]); j++) {
//do something
}
}
Is this the correct way to do so or is there better/correct way.
thank You
wallace
I have a 2D array : imageTileArray and I would like to traverse it i.e.
visit every entry in the array sequentially. I've had a go at doing it
myself as follows but i get address violations:
for(i=0; i < sizeof(imageTileArray); i++) {
for(j=0; j < sizeof(imageTileArray[j]); j++) {
//do something
}
}
Is this the correct way to do so or is there better/correct way.
thank You
wallace