How does one get more than one *cin >>* statements to write out on the same line?
I want it written asinstead of:Code:"x x x x MB x"
Also, how do I have someone respond to a *cin >>* statement without having to press enter? I know that it has to doCode:x x x x MB x
with the creation of fields, but I can't find anything on-line to explain it. At present my code is:
Code:int aa = 0, bb = 0, cc = 0, dd = 0, ee = 0; cout << endl << endl; cout << "Please enter last week's 4 winning numbers" << endl; cout << "and don't froget to press enter after each one." << endl << endl; cin >> aa >> bb >> cc >> dd; cout << endl << endl; cout << " Please enter last week's winning MB number" << endl << endl; cin >> ee; cin.get();