delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/08/30/12:47:54

Date: Wed, 30 Aug 2000 16:16:58 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Chris Amos <homie_dont_play_dat AT yahoo DOT com>
cc: List DJGPP <djgpp AT delorie DOT com>
Subject: Re: Newbie here: How do i convert a number to a string?
In-Reply-To: <20000830103233.2091.qmail@web509.mail.yahoo.com>
Message-ID: <Pine.SUN.3.91.1000830161511.9951G-100000@is>
MIME-Version: 1.0
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

On Wed, 30 Aug 2000, Chris Amos wrote:

> I have looked though my c books but i think there is no ansi standard
> way of doing that and thats why i couldnt find anything. I looked in
> the rhide index of help and all i could find was the
> 
> char * ecvt (double value, int ndigits, int *decpt, int *sign)
> 
> command. Its not standats ansi, and there wasnt even an example given.
> So i have no idea what to do.

Do you use DJGPP v2.03?  If not, upgrade.  If you do have DJGPP v2.03, 
type "info libc alpha ecvt" and read there.  It has a link to a sibling 
function called `ecvtbuf', where you will find detailed description and 
an example.

- Raw text -


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