www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/08/14/14:42:20

Message-ID: <37B5B44D.CE706C86@null.videotron.ca>
From: bub <bub AT null DOT videotron DOT ca>
X-Mailer: Mozilla 4.6 [en] (WinNT; I)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Integer to String
References: <xDet3.4383$sr6 DOT 1505 AT news DOT rdc1 DOT tn DOT home DOT com>
Lines: 10
Date: Sat, 14 Aug 1999 14:24:13 -0400
NNTP-Posting-Host: 24.200.83.106
X-Complaints-To: abuse AT videotron DOT net
X-Trace: wagner.videotron.net 934654913 24.200.83.106 (Sat, 14 Aug 1999 14:21:53 EDT)
NNTP-Posting-Date: Sat, 14 Aug 1999 14:21:53 EDT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

BuckTheMan wrote:
> 
> How could I convert an integer to a string, I know atoi converts a string to
> an intger, but thats the opposite of what I need.

You could use something like sprintf which copies a string into memory
and works like printf, or you could just use itoa (intuitively enough).

-Bub

- Raw text -


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