How can I set the position of cursor, if I use Windows OS ?
For example, if I use this 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:
cout << setw(3) << "";
cin >> a;
cout << setw(21) << a;
cin >> b;
cout << endl;