stringstream tempStr;
string numStr;
tempStr<<i;
tempStr>>numStr;
plus:
get the length of a string
str.size()
stringstream tempStr;
string numStr;
tempStr<<i;
tempStr>>numStr;
plus:
get the length of a string
str.size()