delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/03/10/20:11:03

Message-ID: <38C98EE3.DFCCAEF9@ou.edu>
From: David Cleaver <davidis AT ou DOT edu>
X-Mailer: Mozilla 4.7 [en] (Win98; I)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Question of fprintf...
References: <38C88020 DOT 19C85510 AT ou DOT edu> <MPG DOT 13335fc6b5b7364898b982 AT news DOT freeserve DOT net>
Lines: 19
Date: Fri, 10 Mar 2000 18:10:11 -0600
NNTP-Posting-Host: 129.15.140.115
X-Complaints-To: usenet AT ou DOT edu
X-Trace: news.ou.edu 952733332 129.15.140.115 (Fri, 10 Mar 2000 18:08:52 CST)
NNTP-Posting-Date: Fri, 10 Mar 2000 18:08:52 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


"Andrew R. Gillett" wrote:
> 
> 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?
> 

Because these libraries are used in manipulating really big numbers.  These are
basically objects, and the value "a" in the code snipet is a pointer to one of
these objects.

- Raw text -


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