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: 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 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit > > 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