itoa'd you so?

Levi Pearson levi at cold.org
Wed Sep 19 16:27:15 MDT 2007


"Bryan Sant" <bryan.sant at gmail.com> writes:
>
> You're exactly right.  That's why itoa in the C standard lib has you
> pass your own char[] into them.  They're expecting the caller to
> allocate and babysit the buffer.
>
> Oh the joys of life with manual memory management :-).

As Michael said, itoa is not in the real C standard library, though
some implementations do package a version of itoa in with the standard
C library functions.  Thus the premise behind this whole exercise. :)

                --Levi



More information about the PLUG mailing list