[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: Convert int to string

> Is there any function in C/C++ to convert integer to char string?

Yes, there are, Ashwin. (Relax)
> I found that stdlib.h has functions to convert strings to int or float, but 
> not the other way around.

Hey, did you check the versions of printf ? Like vprintf and sprintf ? Use "%d" in the format-string and then use the integer value correspondingly in a later parameter, for an example.


123India.com - India's Premier Portal 
Get your Free Email Account at http://www.123india.com