+ 1
How should I get character and integer together as input in c++?
Suppose user gives input "abc1234" ....then how to take this as input and display it.
2 Answers
+ 3
Use strings
+ 2
Use a string...
string input;
cin >> input;
cout << input;
Suppose user gives input "abc1234" ....then how to take this as input and display it.