Mozesz sam sobie napisac taka funkcje. Np. dla liczb od 0 do 999:
string tostring(int x)
{
if(x==0) return "0";
else if(x==1) return "1";
else if(x==2) return "2";
else if(x==3) return "3";
else if(x==4) return "4";
else if(x==5) return "5";
else if(x==6) return "6";
else if(x==7) return "7";
else if(x==8) return "8";
else if(x==9) return "9";
else if(x>99) return tostring((x-(x%100))/100)+tostring((x-(x%10))/10)+tostring(x%10);
else if(x>9) return tostring((x-(x%10))/10)+tostring(x%10);
}
Fakt, nie wyglada to zbyt ladnie ale dziala :D Btw na pewno da sie jakos zapetlic rekurencyjne (?) wywolywanie samej siebie zeby dzialala dla wiekszych liczb, ale sam potzrebowalem kiedys dla max 3-cyfrowych i nie chcialo mi sie dalej myslec :P
No albo sciagnac nowszy kompilator, bo widze, że w tym jest problem. Bo c++11 ma funkcje to_string() jak juz pisza ludzie niżej.