摘要: 用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) 编辑