c++ int to string 实现

 

 

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

posted @ 2016-11-22 11:39  codingtao  阅读(394)  评论(0编辑  收藏  举报