Message-ID: <38C88020.19C85510@ou.edu> From: David Cleaver X-Mailer: Mozilla 4.7 [en] (Win98; I) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: Question of fprintf... Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 23 Date: Thu, 09 Mar 2000 22:54:56 -0600 NNTP-Posting-Host: 129.15.140.115 X-Complaints-To: usenet AT ou DOT edu X-Trace: news.ou.edu 952664016 129.15.140.115 (Thu, 09 Mar 2000 22:53:36 CST) NNTP-Posting-Date: Thu, 09 Mar 2000 22:53:36 CST Organization: The University of Oklahoma To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hello all, I'm sorry for posting this seemingly-newbie-ish question here, but I can't really find any documentation on what I'm looking for, and what I do find hasn't worked so far. Ok, I'm printing variables to a file. The code looks like: ... cotnum(a, outfile); fprintf(outfile, "^%d + ", x); ... Here, cotnum is from a library I'm using which prints a number followed by a new-line character. Unfortunately, I want the following string in the fprintf to be on the same line as the number that was just printed. 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! :) -David C.