Is there a way to find how many values an array has? Detecting whether or not I\'ve reached the end of an array would also work.
Doing sizeof( myArray ) will get you the total number of bytes allocated for that array. You can then find out the number of elements in the array by dividing by the size of one element in the array: sizeof( myArray[0] )
sizeof( myArray )
sizeof( myArray[0] )