View Single Post
Old Jun 28th, 2005, 7:05 PM   #7
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
Do as Ooble suggests. Printing \b moves the cursor back to the previous character on the screen. Printing space overwrites it. Printing \b again repositions you to that character on the screen. You'll also need to discard the character you read when you see the backspace from the keyboard.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers
DaWei is offline   Reply With Quote