Hey Everybody!
How can I set the position of cursor, if I use Windows OS ?
For example, if I use this code:
Code:
When I write the variable "a" on the screen, the program jump to the next line. How can I continue in the same line ?Code:int a; int b; cout << setw(3) << ""; cin >> a; cout << setw(21) << a; cin >> b; cout << endl;
Thanks!