Message-ID: <38C98EE3.DFCCAEF9@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: Re: Question of fprintf... References: <38C88020 DOT 19C85510 AT ou DOT edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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.