06-14-2003, 06:31 AM
That works if you want an STL string, but if you just want a standard char array, you can do something like this:
Although you probably wouldn't need that big of a buffer...
Code:
char s[20];
int x = 23;
sprintf(s, "%d", x);
Although you probably wouldn't need that big of a buffer...