No, it is supposed to be ">>". Were you having a problem with it? Do you understand what is going on in that code?
A stringstream is like a filestream or a console input stream (cin). It reads data from the string you initialize it with. I initialized it with line, which is a string containing a line from the file. I then used operator>> to read one word at a time from the line, just like you probably did with inFile.
I put that in the while loop, because you don't know how many words are in the line. The while loop will keep running until it reaches the end of the line, because if the read from operator>> fails, it sets the stream to a fail state and the return value of operator>> evaluates to false. Meanwhile, each time through the loop the word variable is already assigned the next word in the line for you to do your processing with.
If you need to process the first word in the line differently, then your code will look a little different. That example was just to give you an idea.