I'd like to recognize that the enter key was hit when I use getline().
string someString = "anything";
while(someString != "")
cout << "Enter a word: ";
getline(cin, someString, '\n')
I want the while loop to continue unless the user enters the enter key, and only the enter key (no characters or spaces before or after).