From: "Andrew R. Gillett" Newsgroups: comp.os.msdos.djgpp Subject: Re: Question of fprintf... Date: Fri, 10 Mar 2000 23:42:05 -0000 Organization: www.release-dates.co.uk Lines: 16 Message-ID: References: <38C88020 DOT 19C85510 AT ou DOT edu> NNTP-Posting-Host: modem-108.pajama-cardinal.dialup.pol.co.uk X-Trace: newsg4.svr.pol.co.uk 952731798 29096 62.137.45.236 (10 Mar 2000 23:43:18 GMT) NNTP-Posting-Date: 10 Mar 2000 23:43:18 GMT X-Complaints-To: abuse AT theplanet DOT net X-Newsreader: MicroPlanet Gravity v2.20 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com In comp.os.msdos.djgpp, David Cleaver wrote: > 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. I don't understand - why is a different function needed to do that? Why not use fprintf to output this number? -- Andrew Gillett http://argnet.fatal-design.com/ ICQ: See homepage "Well, as you know Stew, I love my God, my Queen, AND my fellow countrymen. And I can tell you, it's a bugger trying to juggle it so they don't find out about each other." - Richard Herring