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.
std::vector has a method size() which returns the number of elements in the vector.
std::vector
size()
(Yes, this is tongue-in-cheek answer)