delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/03/10/19:50:22

From: "Andrew R. Gillett" <arganoid AT fatal-design DOT com>
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: <MPG.13335fc6b5b7364898b982@news.freeserve.net>
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019