首页 | 本学科首页   官方微博 | 高级检索  
     检索      

对VC++ MFC类库中CFile类的派生类的研究和示例
引用本文:陈秀川,杨云,郭琦.对VC++ MFC类库中CFile类的派生类的研究和示例[J].南昌航空工业学院学报,2004,18(4):76-80,84.
作者姓名:陈秀川  杨云  郭琦
作者单位:南昌航空工业学院,南昌330034
摘    要:VC++中MFC类库中所包含的各个应用结构类都是派生于根类CObject,拥有许多共同的接口和方法,为Win32下的编程提供了许多方便。针对类的派生特性,亦可以通过派生MFC类库中的某些应用结构类,构造可以实现更高效,更实用.功能更强大而不影响其拥有的父类的功能模块的应用子类.本文以CFile类及其由笔者编写的派生类为例,来对MFC类的派生用法进行阐述和研究。

关 键 词:派生  共同接口  MFC类库  CFile类  CFileEx类  COptionFile类
文章编号:1001-4926(2004)04-0076-05
收稿时间:2004-11-10
修稿时间:2004-11-10

Research & demonstration on the derived classes of Class CFile in VC++ Class Libraries MFC
CHENG Xiu - chuan, YANG Yun, GUO Qi.Research & demonstration on the derived classes of Class CFile in VC++ Class Libraries MFC[J].Journal of Nanchang Institute of Aeronautical Technology(Natural Science Edition),2004,18(4):76-80,84.
Authors:CHENG Xiu - chuan  YANG Yun  GUO Qi
Institution:Nanchang Institute Of Aeronautical Technology Nanchang 330034 China
Abstract:Application structure classes contained within VC++ Class Libraries MFC are all derived from base class CObject, and have many common interfaces and methods, which provides many conveniences. According to that characteristic of class, we can also build some new applicationclasses which are derived from some classes in MFC Lib, and are more efficient, more practicable, more useful and have no influence on the function modules of base classes. In this article, we expatiate and discuss on the derive method of MFC by taking for examples class CFile and some class written by us.
Keywords:derive  common interface  Class Libraries MFC  Cfile  CfileEx  CoptionFile
本文献已被 CNKI 维普 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号