How do I get an input from the user without specifying the data type in c++?

前端 未结 0 778
执念已碎
执念已碎 2020-12-06 10:22

Im a bit new, sorry if this is a dumb question. here is what i have done:

int numOne;
cin >> numOne;

But by doing this the user can onl

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