convert from integer to string
hi, can someone give some idea on how to convert the integer that bring up from the functions and make the integers into one strings..
for example
sqrtOfMonth(month); // this solution is 2
cout<<numPrimeFactor(year)<<endl;// this solution is 2
largestPrimeFactor(year);// this solution is 283
octalDay(day);// this solution is 35
cout<<counter;// this solution is 6
how can i make these single numbers and convert it to one string.
and i want the output to be like 22 28 33 56.. in string..