c++ int to string 实现

string itos(int i){
stringstream stream;
string s;
stream<<i;
s = stream.str();
return s;
}

原文地址:https://www.cnblogs.com/codingtao/p/6088598.html