need help with managing data in unsigned length arrays
Posted: Mon Apr 25, 2011 3:49 pm
Hi
I need to save clone indexes of destroyed Actors in int * type array, but i cant find how to get size(length) of this array or number of last added element, something which help to use it in for loop.
If you know what to use instead of LengthOF in these lines, please tell me.
I need to save clone indexes of destroyed Actors in int * type array, but i cant find how to get size(length) of this array or number of last added element, something which help to use it in for loop.
- Code: Select all
int * indexes;
int n;
for ( n = 0; n < LengthOF(indexes) ; n++ ){
indexes[n] = something;
}
If you know what to use instead of LengthOF in these lines, please tell me.