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