exiting out of a loop using getline when you encounter a newline character

前端 未结 0 943
情话喂你
情话喂你 2020-11-21 19:54

this might be the most basic of questions, but I have a problem exiting out of a loop using getline. Let\'s say a user enters these words using std::cin in the console:

相关标签:
回答
  • 消灭零回复
提交回复
热议问题