Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Overwriting cout screen output

Status
Not open for further replies.

Heals

Programmer
Oct 1, 2002
3
AU
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 &quot;cout << &quot; code that enables the output to overwrite itself so the clock appears stationary on the command line. I have tried &quot;\r&quot; and it works fine in dos compilations but not for Linux or Unix.

Any info would be appreciated.

Cheers
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top