www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/09/05/19:25:19

From: stockton AT imgen DOT bcm DOT tmc DOT edu (David Stockton)
Message-Id: <199609052316.SAA09298@imgen.bcm.tmc.edu>
Subject: Re: printf format string question
To: djgpp AT delorie DOT com
Date: Thu, 5 Sep 1996 18:16:06 -0500 (CDT)
In-Reply-To: <Pine.GSO.3.94.960905025133.12616A-100000@zippy> from "Samuel Vincent" at Sep 5, 96 02:52:28 am
Reply-to: stockton AT bcm DOT tmc DOT edu
Organization: Molecular and Human Genetics, Baylor College of Medicine
Phone: (713)798-4795
x-fax-number: (713)798-5073
x-phone: (713)798-4795
MIME-Version: 1.0

> 
> Oh come now.. it's always possible to do anything.. :)
> 
> Just grab the printf function from the libc source and modify it to your
> heart's content. ;)
> 
> -Sam
> 
That won't result in very portable code.  Why not just write a "doubleToAscii"
routine that does what you want and use '%s' in printf.  Then it will do what
you want and be part of your code.
						- David

- Raw text -


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