How to clear output buffer for int

后端 未结 0 1059
时光取名叫无心
时光取名叫无心 2020-12-29 09:03

Im a new user of c++ and I am stuck with a problem.

If the input for the int variable \'x\' is anything other than a number, then c++ seems to skip the cin associated

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