Use sprintf()
Note!, since sprintf() is also a variable argument function, it fails badly if passed with wrong arguments or if some of the arguments are missed causing segmentation faults. So be very careful when using sprintf() and pass the right number and type of arguments to it!
Monday, April 6, 2009
How can I convert numbers to strings (the opposite of atoi)?
Posted by Raghu Kumar on 6:49 AM
RSS Feed
Twitter
Orkut