如何使用序列化功能 [英] how to use serialize function

查看:66
本文介绍了如何使用序列化功能的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在Visual C ++中使用序列化来存储和读取硬盘上的数据,以及复制,粘贴和保存文件.我不知道如何使用此功能?我应该使用哪个功能?在哪里使用?声明那些函数?执行以下步骤?

I want to use serialization in visual c++ to store and read the data from hard disk and also to copy,paste and save the file.I have no idea how to use this???Which function should i use?and where to declare those functions??Which steps are followed for doing this?

推荐答案

MFC支持序列化,请参见 CodeProject 上还有关于[ boost序列化库.
:)
MFC supports Serialization, see Serialization in MFC.
There are also articles, here at CodeProject about [^]. Another option is boost Serialization library.
:)


序列化不是一个函数,而是一个概念.
本文 [
Serialization is not a function, it is a concept.
This article[^] is the first of a great series about serialization. I would recommand reading it, you''ll learn a lot from it.


这篇关于如何使用序列化功能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆