VC++ chap13 文档与串行化
摘要:
Lesson 13 文档与串行化13.1使用CArchive类对文件进行读写操作//让对象数据持久性的过程称之为串行化,或者序列化void CGraphicView::OnFileWrite(){ // TODO: Add your command handler code here CFile file("1.txt",CFile::modeCreate|CFile::modeWrite); //build CFile object CArchive ar(&file,CArchive::store); //build archive object int i=4 阅读全文
posted @ 2013-12-04 11:59 吾一 阅读(226) 评论(0) 推荐(0) 编辑