Can anyone help me to find the correct code syntax for implementing the output for a console digital clock on the command line. I need the "cout << " code that enables the output to overwrite itself so the clock appears stationary on the command line. I have tried "\r" and it works fine in dos compilations but not for Linux or Unix.
Any info would be appreciated.
Cheers
Any info would be appreciated.
Cheers