The following is some code where i simply try to take keyboard input fromt he console and append it to the end of a file (these are the first steps to a chat program i need to make). However, the problem I'm having at the moment is that when I hit backspace at the console the characters do not actually get deleted in the output and the backspace character is also included as one of the characters...what is the best way to eliminate this problem?
/* the following is an example of a session of above code...how can i get it to not keep track of backspaces?
===================================
hey man
yO^Hoooooooooooo, ^H^H!!! what's up?
nuttin much you?
nuttin..goodbye
==================================
*/
[ June 15, 2004: Message edited by: Lucas ]
[ edited to preserve formatting using the [code] and [/code]
UBB tags -ds ]
[ June 16, 2004: Message edited by: Dirk Schreckmann ]