摘要:
推荐使用C++标准库作法:#include <iostream>#include <string>#include <sstream>using namespace std;int main(){ int a = 2; string b = "abc"; stringstream ss; ss << a << b; cout << ss.str() << endl; return 0;} 阅读全文
posted @ 2013-06-15 22:38
盗草人
阅读(568)
评论(0)
推荐(0)

浙公网安备 33010602011771号