Originariamente inviato da samoa
in C
char buf[20];
sprintf (buf, "%09ld", tuo_long);

http://www.cplusplus.com/reference/c...o/sprintf.html