About the input problem of cin input decimal

后端 未结 0 837
长情又很酷
长情又很酷 2021-02-10 09:38

when i enter a floating point with cin,not surprisingly,the decimal point will be replaced with “0”.So i look forward a good way to resolve it rather than using extract string

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