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

关于C++语言中虚函数机制的讨论
引用本文:窦世成.关于C++语言中虚函数机制的讨论[J].甘肃联合大学学报(自然科学版),1996(1).
作者姓名:窦世成
作者单位:建行兰州市支行计算中心 兰州
摘    要:虚函数是C++中实现多态性的一个十分重要的机制,本文对C++中虚函数定义中的一些细节问题,使用虚函数的原因,以及虚函数中的动态连接等一系列问题作了一些探讨。

关 键 词:虚函数  多态  动态连接

On the Mechanism of Virtul Function in C++
Dou shicheng.On the Mechanism of Virtul Function in C++[J].Journal of Gansu Lianhe University :Natural Sciences,1996(1).
Authors:Dou shicheng
Abstract:Virtual function is a very important mechanism for the implementation of polymorphic in C++ language.This paper discusses the detial problems of virtual function,the definition the reason for virtual function and dynamic binding in virtual function.
Keywords:viutual function  polymorphic  dynamic binding
本文献已被 CNKI 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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