会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
chenqiangzhishen
博客园
首页
新随笔
联系
订阅
管理
2015年6月10日
error: std::ios_base::ios_base(const std::ios_base&)’是私有的
摘要: 用std::ifstream,std::ofstream作为函数参数传递时,必须通过引用传递,因为其copy方法被私有化,从而保证对象的唯一性。正确代码 3 #include 4 #include 5 using namespace std; 6 7 OrderEntr...
阅读全文
posted @ 2015-06-10 20:16 chenqiangzhishen
阅读(177)
评论(0)
推荐(0)
编辑
公告