cin.clear();
cin.ignore(numeric_limits<std::streamsize>::max(), '\n');
转载于:https://www.cnblogs.com/love-DanDan/p/10818906.html
cin.clear();
cin.ignore(numeric_limits<std::streamsize>::max(), '\n');
转载于:https://www.cnblogs.com/love-DanDan/p/10818906.html