經安全檢測,此網站為安全網站,請放心前往原始網址!

c++ - getline() not working second time in a while loop ...

2011年12月31日 - cin >> yes;. Right there, the user enters a letter, let's say 'y'. Then hits enter. This stores 2 characters in the input buffer, 'y' and '\n'. The 'y' gets stored in ...

stackoverflow.com

網址安全性掃描由 google 提供