delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/09/29/20:57:35

From: "Tom Morton" <tmorton AT yikesstation DOT freeserve DOT co DOT uk>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Program too large?
Date: Wed, 29 Sep 1999 11:40:49 +0100
Organization: Yikes Station Ltd.
Lines: 21
Message-ID: <7su7pu$637$2@news8.svr.pol.co.uk>
References: <Pine DOT SUN DOT 3 DOT 91 DOT 990928092947 DOT 17309E-100000 AT is> <7sqj96$kee$1 AT news8 DOT svr DOT pol DOT co DOT uk> <7sqp0b$mtb$1 AT solomon DOT cs DOT rose-hulman DOT edu> <7srlju$65r$1 AT news6 DOT svr DOT pol DOT co DOT uk> <37f16fa7 DOT 1492264 AT newsserver DOT cc DOT monash DOT edu DOT au>
NNTP-Posting-Host: modem-80.mercury.dialup.pol.co.uk
X-Trace: news8.svr.pol.co.uk 938648190 6247 62.136.39.208 (29 Sep 1999 23:36:30 GMT)
NNTP-Posting-Date: 29 Sep 1999 23:36:30 GMT
X-Complaints-To: abuse AT theplanet DOT net
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2014.211
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Davin McCall <DavMac AT iname DOT com> wrote in message
news:37f16fa7 DOT 1492264 AT newsserver DOT cc DOT monash DOT edu DOT au...
> Use "%ld". Incidentally, this *is* in the docs...

Ooops. Sorry. I usually use the BC4.5 help files for c problems.
(I have trashed the rest of the BC complier) In the printf
section it never mentioned %ld.

> On Wed, 29 Sep 1999 00:56:23 +0100, "Tom Morton"
> <tmorton AT yikesstation DOT freeserve DOT co DOT uk> wrote:
>
> >BTW any way of avoiding warnings associated with
> >
> >sprintf(buffer, "%d", long integer);
> >
> >It reports that format should be integer and not long but works fine
> >with long.



- Raw text -


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