-
编写可串行化类时,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
-
这是一个用MFC编写的指针式时钟,虽然不是很难,但是对学习MFC很有好处。...
这是一个用MFC编写的指针式时钟,虽然不是很难,但是对学习MFC很有好处。-This is a prepared using MFC Pointer clock, although not difficult, but very good for learning MFC.
- 2022-05-12 11:25:58下载
- 积分:1
-
本程序设计分为服务器应用程序及客户机应用程序部分,采用Socket套接字库网络编程。(UDP)和(TCP/IP)相结合的连接方式,及解决了数据传输的时效性又能保...
本程序设计分为服务器应用程序及客户机应用程序部分,采用Socket套接字库网络编程。(UDP)和(TCP/IP)相结合的连接方式,及解决了数据传输的时效性又能保证数据在传输的过程中不会丢失。另外程序采用多个线程来避免程序阻塞。具体设计思路及部分代码如下:
程序设计目的:首先就是完成课设任务啦(大二课设内容)其他目的:
1:练习使用套接字进行网络编程。
2:练习使用自定义消息。
3:练习多线程方面的编程思想。
4:练习使用各种控件。
-This procedure is divided into server application design and part of the client application using Socket socket network programming library. (UDP) and (TCP/IP) connection method of combining, and resolved the timeliness of data transmission but also ensures that the process of data transmission will not be lost. Other procedures to avoid the use of multiple threads blocking procedures. Specific design ideas and some code as follows: program design purposes: first mission is set up you finish class (sophomore class for the content of) other purposes: 1: Practice using the socket network programming. 2: Practice the use of custom message. 3: practice aspects of multi-threaded programming idea. 4: Practice using a variety of controls.
- 2022-03-23 04:56:54下载
- 积分:1
-
非常好的Internet Mail形式的界面
非常好的Internet Mail形式的界面-very good form of Internet Mail interface
- 2022-01-25 15:31:41下载
- 积分:1
-
nes模拟器,viusal basic写的,想研究nes模拟器的看看吧
nes模拟器,viusal basic写的,想研究nes模拟器的看看吧-nes simulator, viusal basic writing and wants to study nes simulators let"s see it
- 2022-07-05 03:08:46下载
- 积分:1
-
C++计时器源码
应用MFC框架的计时器程序,可以放大缩小窗口,设置计时时间,到时提醒,提示音等;可以关联PPT,点击开始后倒计时,同时自动播放PPT,支持PowerPoint 2003。开发工具vs2013,工程可以直接打开,含可执行程序。
- 2022-04-21 12:19:22下载
- 积分:1
-
good things to share with everyone, I think is a good thing.
好东西大家一起分享,我觉得是很好的东西。-good things to share with everyone, I think is a good thing.
- 2022-01-29 01:02:27下载
- 积分:1
-
Queue management package categories, including mutex locks, the function of FIFO
队列管理封装类,包括mutex锁, 先进先出的功能-Queue management package categories, including mutex locks, the function of FIFO
- 2022-03-13 22:08:52下载
- 积分:1
-
Hangman Game
一款非常简单的刽子手游戏,供业余程序员欣赏!:)
- 2022-10-05 20:40:03下载
- 积分:1
-
石器登录列表制作工具
石器登录列表制作工具,石器登录列表制作工具,石器登录列表制作工具,石器登录列表制作工具,石器登录列表制作工具,石器登录列表制作工具,石器登录列表制作工具,石器登录列表制作工具,石器登录列表制作工具石器登录列表制作工具,石器登录列表制作工具
- 2022-05-07 07:02:12下载
- 积分:1