会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Loading
NLNet
博客园
首页
新随笔
联系
订阅
管理
2016年4月5日
C++中流操作符<<重载的实现
摘要: 一、继承fstream后重载其<< 注意:重载函数中不能直接使用参数中的流out,否则会出现递归出错。 class CLogStream : public ofstream { public: string m_path = "ClogStream.log"; CLogStream() { this
阅读全文
posted @ 2016-04-05 16:35 NLNet
阅读(111)
评论(0)
推荐(0)
公告