-
编写可串行化类时,MFC用你指定的模式号制定一个粗略的版本控制方式。在向档案写数据时,MFC用模式标记该类的实例;而在读回数据时,MFC将档案中的记录的模式号和...
编写可串行化类时,MFC用你指定的模式号制定一个粗略的版本控制方式。在向档案写数据时,MFC用模式标记该类的实例;而在读回数据时,MFC将档案中的记录的模式号和应用程序中使用着的 该类对象的模式号做比较,如果两模式号不匹配,则MFC发送一个CArchiveException,其m_cause 等于CArchiveException::badSchema。没有得到处理的该类异常会促使MFC显示一个对话框,提示 “非预期的文件格式”。如果每次修改对象的串行化存储格式时都能做到增加模式号,那么就不怕 这种无心的操作―试图把磁盘中存的老版本对象读入内存里的新版本对象了。 [代码性质] VC完整应用程序代码 [代码作者] 阿豪(kof) [文件大小] 369K-prepared Serializable category, the MFC with you specify the mode of development of a rough version control mode. To write data files, the MFC model with markings such examples; In reading back the data, MFC will file the record of the model and application procedures with the use of such objects, the model used for comparison, if the two patterns do not match, and then send a CArchiveException MFC, equivalent to m_cause CArchiveException : : badSchema. Not to be addressed such abnormal prompted MFC will show a dialog box, suggesting that "unintended file format." If every amendment targets of serial storage format can achieve the increase mode, so it
- 2022-08-17 22:59:40下载
- 积分:1
-
asp to send SMS send MMS source their own research to see if the next bar
asp的短信发送彩信发送源码自己看看研究下吧-asp to send SMS send MMS source their own research to see if the next bar
- 2022-08-16 21:33:25下载
- 积分:1
-
C++ Complete reference.Every c++ tool including 3d ones are explained with examp...
C++ Complete reference.Every c++ tool including 3d ones are explained with examples- C++ Complete reference.Every c++ tool including 3d ones are explained with examples...
- 2023-03-08 06:20:03下载
- 积分:1
-
Multi
遗传算法中多点交叉算法来优化最小值函数所对应的解--变异过程-Multi-point genetic algorithm to optimize the cross-algorithm corresponding to the minimum function of the solution- the process variation
- 2022-11-11 01:40:03下载
- 积分:1
-
半监督社区划分算法SpinGlass算法
Eaton 等人分别考虑个体标签和成对约束两种形式,提出了基于 Spin-Glass 模 型的半监督社区发现方法。 该算法通过修正 Spin-Glass 模型的哈密尔顿量使网络中的 每个节点处于基态。该模型指定具有相同自旋状态的节点应该被划分到同一个社区。 为了把两种形式的先验信息结合到哈密尔顿函数中,算法分别对应个体标签和成对约 束先验信息建立惩罚或奖励函数。在最小化哈密尔顿函数时,该算法采用模拟退火思想避免局部最优,从而得到良好的社区划分结构。 该算法在实验中呈现出较好的识别准确度和抗噪性。
- 2022-03-11 07:27:08下载
- 积分:1
-
饼型的进度显示窗口
饼型的进度显示窗口-pie progress indicates window
- 2023-04-26 07:10:02下载
- 积分:1
-
虚拟串口设备驱动程序
虚拟串口设备驱动程序-Virtual Serial Device Driver
- 2023-03-13 05:35:03下载
- 积分:1
-
C++编写的模拟操作系统的存储管理的程序,可供学习操作系统的同学借鉴...
C++编写的模拟操作系统的存储管理的程序,可供学习操作系统的同学借鉴-C simulation prepared by the operating system of storage management procedures, the operating system for learning from students
- 2022-05-15 20:09:47下载
- 积分:1
-
用MFC做的一个拼图游戏的小程序。用于联系鼠标选取移动等长用功能。...
用MFC做的一个拼图游戏的小程序。用于联系鼠标选取移动等长用功能。-Using MFC to do a small procedures.
- 2023-03-25 07:35:06下载
- 积分:1
-
和MMSE
and MMSE-SIC equalizer (Rayleigh channel-
and MMSE-SIC equalizer (Rayleigh channel) )
- 2022-03-16 08:28:43下载
- 积分:1