You're here: Snippet Directory » C/C++ (495)
Language:

itoa

Language: English
Programming Language: C
Published by: noselasd [not registered]
Last Update: 5/15/2006
Views: 173

License: BSD License

Description

itoa - convert an integer to ascii, thereverse of atoi

Code

1 char *itoa(int n, char *s) 2 { 3 sprintf(s, "%d", n); 4 return s; 5 }

No comments avaiable

Add a comment

Name *  

Email (won't be displayed) *    

Website  

Comment *  

Sicherheitscode Security Code *    

RSS