is there a way to make cin take only the first char and ignore the rest?

后端 未结 0 933
礼貌的吻别
礼貌的吻别 2021-01-14 22:53

hi this is a help function i implemented for my calculator, it has an issue, if the user enter more than 1 char it prints multiple times: cout << "not present in

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