摘要: 比如要把三个整型变成连续字符串,应该这样: #include <iostream> #include <sstream> //这个是关键 #include <string> using namespace std; int main() { int a=1,b=2,c=3; string s; stringstream out; out<<a<<b<<c; o... 阅读全文
posted @ 2012-03-20 10:04 C4ISR 阅读(573) 评论(0) 推荐(0) 编辑
C4ISR