会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
代码如诗
小楼一夜听春雨
博客园
首页
新随笔
联系
订阅
管理
2011年11月6日
stringstream用法
摘要: 分为istream和ostringstream. 1 std::string name("zeta");2 int age = 27;3 4 ostringstream os;5 os << "name:"<<name<<""<<"age:"<<age<<endl;6 cout<<os.str()<
阅读全文
posted @ 2011-11-06 10:58 小 楼 一 夜 听 春 雨
阅读(28457)
评论(2)
推荐(6)
公告