-
编写可串行化类时,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
-
局域网点对点聊天(vc++ 原码)
局域网点对点聊天(vc++ 原码)-point-to-point LAN Chat (vc original code)
- 2022-05-28 00:13:20下载
- 积分:1
-
在ADS环境中使用字库时发现字库的字是躺着的,所以写段小代码,把字库正过来。...
在ADS环境中使用字库时发现字库的字是躺着的,所以写段小代码,把字库正过来。-Change
- 2022-07-27 20:29:26下载
- 积分:1
-
12306余票查询系统
源代码演示了如何在客户端程序,按HTML的格式,封装报头,通过12306系统的接口,进行火车票的查询。程序还提供了一种根据用户输入,自动匹配目的地的方法。程序内部处理12306返回消息是通过xml(还是json忘记了,懒得看源代码了)的方式实现的。HTML封装也是网络分层的一部分,有兴趣的同学可以看下,对于计算机网络知识的学习还是有些帮助的,如果只是想通过本程序查找12306的接口,那还是算了,铁道部有事没事就换一下接口,其实接口参数和名称都差不多,就变一下,相当蛋疼,还是自己看网页源代码吧,上面都写有,不了解html和js的同学开始会比较头疼,其实一门语言学熟悉了,看起来也都没差,没什么好说的了。
- 2022-01-25 15:50:27下载
- 积分:1
-
个人导航网页源码
- 2022-09-29 11:55:03下载
- 积分:1
-
Proficient QT4 programming
精通QT4编程-代码(共四部分),此为第4部分-Proficient QT4 programming- the code (a total of four parts), This is Part 4
- 2022-04-16 05:47:51下载
- 积分:1
-
利用Markov算法根据原始文本的统计规律生成随机文本,利用容器vector, map实现。包含详细的注释和测试数据...
利用Markov算法根据原始文本的统计规律生成随机文本,利用容器vector, map实现。包含详细的注释和测试数据-The use of Markov algorithm based on the statistical laws of the original text to generate a random text, and the use of container vector, map to achieve. Contains detailed notes and test data
- 2023-08-21 18:25:03下载
- 积分:1
-
Everyone knows the Maths important.
the math routes are for beginner.
have a...
Everyone knows the Maths important.
the math routes are for beginner.
have a fun.
- 2022-01-24 17:59:32下载
- 积分:1
-
a very good intereger
flex皮肤,非常good,适合flex开发者-a very good intereger
- 2022-02-21 14:27:15下载
- 积分:1
-
Windows++XP++PRO++VLK序列号修改
使用此文件修改无法激活的windowsxp系统...
Windows++XP++PRO++VLK序列号修改
使用此文件修改无法激活的windowsxp系统-Windows++ XP++ PRO++ VLK serial number of amendments to revise the use of this file can not be activated windowsxp system
- 2022-12-30 01:15:03下载
- 积分:1