you can do lyke this

int val=2635;
char s[50];
cout<<itoa(val,s,10)<<endl;

is that you want?