Here's the specification for VC++2003:
In your compiler, it might be different. Here's an example:Code:#include <stdio.h> int _snprintf( char *buffer, size_t count, const char *format [, argument] ... );
Code:int num = 3434; char str[3]; _snprintf(str, sizeof(str), "%d", num);