0
How to make the cin command ask a question in the output?
I tried using cout but it didnt work
2 Antworten
+ 2
this is kind of badly worded....
cout << "enter num"; cin >> num;
if you are dealing with objects and overloaded the >> operator.
cin >> mObj;
this overload could have cout statements that prompt the user to enter values for all of that objects member variables.
hope this helps!!
0
Thank you, I will try this.