|
Controlling the positioning and so forth on the console is not part of the C/C++ language. That means it's implementation dependent. It depends on the hardware implementation as well as the OS. If you're talking about Windows on an Intel (or similar) platform, see the console section of the WIN API. For Unix derivatives, I believe (without knowing, these days) that you will need things like unistd and termio.
I have some example code for the Windows console API that I could dig up, if need be. The conio functions that used to deliver with DevCpp used this API.
|