流云の剑舞秋风

吾生也有涯 而知也无涯

博客园 首页 新随笔 联系 订阅 管理

2005年5月13日 #

摘要: #include #include voidmain() { charSourceName[81]; charDestinName[81]; cout>SourceName; cout>DestinName; try { CFilefileSource(SourceName,CFile::modeRead); ... 阅读全文
posted @ 2005-05-13 19:56 流云 阅读(1562) 评论(1) 推荐(0) 编辑

摘要: //读写2进制流文件 #include #include #include voidmain() { ofstreamf1("wr1.dat"); if(!f1) { cerr>x) cout<<x<<''; cout<<endl; f2.close(); } 阅读全文
posted @ 2005-05-13 19:54 流云 阅读(581) 评论(0) 推荐(0) 编辑