delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2005/01/08/23:51:57

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
Date: Sun, 09 Jan 2005 06:49:18 +0200
From: "Eli Zaretskii" <eliz AT gnu DOT org>
Sender: halo1 AT zahav DOT net DOT il
To: djgpp AT delorie DOT com
Message-ID: <01c4f606$Blat.v2.2.2$b9766fc0@zahav.net.il>
X-Mailer: emacs 21.3.50 (via feedmail 8 I) and Blat ver 2.2.2
In-reply-to: <MKYDd.54517$nP1.10666@twister.socal.rr.com>
(sam124 AT operamail DOT com)
Subject: Re: Strange problems with printf()
References: <NsLDd.54447$nP1 DOT 27785 AT twister DOT socal DOT rr DOT com> <01c4f56a$Blat.v2.2.2$ecce5460 AT zahav DOT net DOT il> <6_TDd.54474$nP1 DOT 27946 AT twister DOT socal DOT rr DOT com> <01c4f5be$Blat.v2.2.2$9e630f60 AT zahav DOT net DOT il> <MKYDd.54517$nP1 DOT 10666 AT twister DOT socal DOT rr DOT com>
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> From: "Samuel Lauber" <sam124 AT operamail DOT com>
> Date: Sat, 08 Jan 2005 22:01:16 GMT
> 
> Test code (slightly modified from the one in the orig. post, but it was the
> code
> that first revealed it):
> 
> int printf(char *, ...);
> 
> int main(void)
> {
>     printf("%f\n", 5.86);
>     return 0;
> }

And what exactly does this print?

Also, what was the commands you used to compile, link, and execute the
program?

- Raw text -


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