delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/03/30/02:43:26

Date: Tue, 30 Mar 1999 09:41:23 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Heliophobe <mrscreen AT hotmail DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: converting variables
In-Reply-To: <mrscreen-2903992011070001@mty2-131.dip.mbay.net>
Message-ID: <Pine.SUN.3.91.990330094104.5937S-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Mon, 29 Mar 1999, Heliophobe wrote:

>   char buffer[100];
>  
>   buffer=itoa(i);   //I[nteger] to A[scii]
>   buffer=ftoa(f);   //F[loat] to A[scii]

DJGPP doesn't have `ftoa', and I don't think I've ever seen it in any
other compiler.  Use `sprintf' instead.

- Raw text -


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