How to keep from going out of bounds in a vectorI was hoping that someone could help me figure out a basic way to check if a looping element will ca...