On 3/28/07, Karthikeyan M <[EMAIL PROTECTED]> wrote: > On 27 Mar 2007 23:31:59 -0700, Karthikeyan M > > <[EMAIL PROTECTED] > wrote: [...] > > > We can use atoi function in C. But am not sure about C++. As C++ > > > supports C, I think we can use this built in function there also ! > > > > atoi() (ascii-to-integer) exists in both languages, however it doesn't > > do what the OP wants, which is integer-to-ascii > > I think we do have itoa() function.
Think again. It's not a Standard function, and thus not all compilers have it. Yours might, but others' might not. -- PJH Aio, quantitas magna frumentorum est
