From: "Campbell, Rolf [SKY:1U32:EXCH]" Newsgroups: comp.os.msdos.djgpp Subject: Re: Question of fprintf... Date: Fri, 10 Mar 2000 12:12:28 -0500 Organization: Nortel Networks Lines: 18 Message-ID: <38C92CFC.48C9204B@americasm01.nt.com> References: <38C88020 DOT 19C85510 AT ou DOT edu> NNTP-Posting-Host: wmerh0tk.ca.nortel.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.72 [en] (X11; I; HP-UX B.10.20 9000/785) X-Accept-Language: en To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com David Cleaver wrote: > So, my question is, > how do I print the "backspace character" (ie, '\0x8')? I've already tried > putting '\0x8' in place of the string, but the djgpp compiler complained about > that, so, I was wondering if someone could tell me how I can backspace over that > already provided '\n' (new-line character)? Any help you can give will be > greatly appreciated. Have a nice day! :) You cannot 'backspace' in a file. Printing '\x08' in the file will add an extra byte after the new-line. If you want to overwrite the new-line, look up fseek. -- (\/) Rolf Campbell (\/)