Oh crap! I didn't know that this wasn't a standard C function. Gimme a sec and I'll hack something up. Wait a sec... I tried this on GCC under Windows and it works. There's no reason it shouldn't work. However, I'll post something as soon as I hack it up.


EDIT: From here,
Portability.
Not defined in ANSI-C. Supported by some compilers.

EDIT: Crap! I'm forgetting my ANSI-C. This is what you need:

Code:
char number_str[10];
int number = 25;
sprintf(number_str, "%d", number);
From here


Cheers,
cgkanchi