Vs solve the problem using cin.sync () can not empty the input buffer

NoSuchKey

Guess you like

Origin blog.csdn.net/weixin_43669941/article/details/90233667