I want to split these two different lines up into words so then I can compare them. To see which is in one and not in the other. Should I be splitting them up and putting them into vectors or arrays? I dont think if if just split them into tokens that will work, or will it?
Split the lines up into words and place the words for a corresponding line into a vector.
For example, vector<string> a has elements "I", "believe", "in", "you" and vector<string> b has elements "You", "believe", "in", "you".
If you use a == b it will return false because the first element in a isn't equal to the first element in b.
The way the values are compared are defined in the vector's equal operator which is explained here
and more thoroughly explained in this link.
Edit: I do not know if the vector class handles the exception between unequally lengthed vectors, but in the event that you obtain a set of words that are more or less than the vector to be compared against, you should handle the possibility if the operator implementation in vector does not.