i'm trying to get my code to read from a text file, then find the first and last words of each sentence. I can get it to recognize Capitalized words, and the end of the sentences but when i try to thrown in a case to where the capitalized word follows the end of a sentence or is the first word of the text, it errors out with expression vector subscript out of range. Here's my code. It's a bit sloppy right now, but i'm just trying to get it to work first so I can transform it into a fileparser class and a linked list class