how to terminate cin taking a value on space intead of carnage return because it cause the program to go to next line and I want it on the same line?

前端 未结 0 1658
抹茶落季
抹茶落季 2020-12-15 00:00
int main(){int int1,int2;cout << "Enter pair of integer e.g (Integer1,integer2)  : ";cout << "( ";cin >> int1; cout << &q         


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