C++ character to int

前端 未结 5 1701
梦谈多话
梦谈多话 2020-12-11 16:36

what happens when you cin>> letter to int variable? I tried simple code to add 2 int numbers, first read them, than add them. But when I enter letter, it just fails and prin

5条回答
提交回复
热议问题