| delorie.com/archives/browse.cgi | search |
| From: | Erik Max Francis <max AT alcyone DOT com> |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Re: integer to string |
| Date: | Wed, 11 Feb 1998 09:18:42 -0800 |
| Organization: | Alcyone Systems |
| Lines: | 16 |
| Message-ID: | <34E1DD72.35C3767B@alcyone.com> |
| References: | <34DE1449 DOT 185C AT bellsouth DOT net> <6bl70d$bou$1 AT herald DOT Mines DOT EDU> |
| NNTP-Posting-Host: | 165.90.20.242 |
| Mime-Version: | 1.0 |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Jean-Luc Romano wrote:
> I think itoa() (the int to ascii function) should do the trick.
> You can try the following:
>
> str = itoa(Mypid);
itoa is a nonstandard function. Use sprintf instead.
--
Erik Max Francis, &tSftDotIotE / mailto:max AT alcyone DOT com
Alcyone Systems / http://www.alcyone.com/max/
San Jose, California, United States / icbm://+37.20.07/-121.53.38
\
"Life may be / the product of imperfections."
/ (Marclo Gleiser)
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |