Also you can use itoa(); Im not sure but i think itoa() might be windows specific so it might be a better option to use stringstream.
Code:string buffer; int number = 0; itoa(number,buffer,10);
Also you can use itoa(); Im not sure but i think itoa() might be windows specific so it might be a better option to use stringstream.
Code:string buffer; int number = 0; itoa(number,buffer,10);