My program asks for user input and is in the format of "10 11 12". I want to do something like cin << userInput
but when I use that, I only get everything prior to the first white space. How can I read the entire line? I've tried using getline(string, maxSize) but that puts the line into an array of char which I don't want.