A
asdf
string text_word;
while (cin>>text_word)
vector1.push_back(text_word);
I just want to input two strings, how to terminate the input ? I press
Enter key, but it didn't terminate input.
while (cin>>text_word)
vector1.push_back(text_word);
I just want to input two strings, how to terminate the input ? I press
Enter key, but it didn't terminate input.