Xref: news2.mv.net comp.os.msdos.djgpp:3318 From: Erik Max Francis Newsgroups: comp.os.msdos.djgpp Subject: Re: atoi <> itoa (?) Date: Mon, 29 Apr 1996 07:51:25 -0700 Organization: Alcyone Systems Lines: 14 Message-ID: <3184D76D.4360C314@alcyone.com> References: <3183E793 DOT 1ED4 AT algonet DOT se> NNTP-Posting-Host: newton.alcyone.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Rikard Thunberg wrote: > I need the reverse function of atoi(), say itoa() for UNIX and MSDOS > (djgpp). Unfortunately, I can't find such > function (ANSI C). That's because one doesn't exist in ANSI C. Use sprintf instead. -- Erik Max Francis &tSftDotIotE && http://www.alcyone.com/max && max AT alcyone DOT com San Jose, California, U.S.A. && 37 20 07 N 121 53 38 W && the 4th R is respect H.3`S,3,P,3$S,#$Q,C`Q,3,P,3$S,#$Q,3`Q,3,P,C$Q,#(Q.#`-"C`- && 1love && folasade Omnia quia sunt, lumina sunt. && Dominion, GIGO, GOOGOL, Omega, Psi, Strategem "Out from his breast/his soul went to seek/the doom of the just." -- _Beowulf_