which flag in cin turns to false when you enter a wrong type input

前端 未结 0 1828
梦如初夏
梦如初夏 2020-12-01 15:08

when i use cin to get an int and user enter a float number, apparently nothing is wrong; but when you use cin in the condi

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