标签:
#include<iostream> #include<sstream> #include<string> using namespace std; int main() { int a = 5; ostringstream os; os << a; string s = os.str(); cout << s << endl; return 0; }
int转string
原文地址:http://www.cnblogs.com/argenbarbie/p/5962160.html