You could use the ostringstream convert function in the sstream library.
You would start with a line such as
ostringstream convert;
Then with the << operator convert the variable you wish(or >> to convert from string), like:
int var = 98;
convert << var;
Then store this in a string:
string result;
result = convert.str();
That string will now contain the contents of your int!
Ofc you can use if statements to differentiate between input as chars, ints, etc. And combine all the strings at the end to concate them.
Btw sorry for spelling and format, on phone xD