If you mean converting the int value of a string to char form, I understand Heres a way I used for it.
Make two functions. One will tell the program how many int values to input, and the other, run by the first, will convert it. ie:
Code:
void convert(int length, ...) {
va_list arguments;
va_start(arguments, length);
for (int x=0; x<length; x++){
std::cout<<(char)va_arg(arguements, int);
}
va_end(arguments);
}
void itos(int argn) {
if (argn == 1) convert(ary[0], ary[1]);
if (argn == 2) convert(ary[0], ary[1], ary[2]);
.
.
.
}
The array is the message broken up. [0] is the amount of chars, inother words when declaring itos(int to string) use ary[0] for its declare so it uses the right amount. Everything after [0] is the individual chars in int form. I just did this earlier myself