首页> 中文期刊> 《安徽工业大学学报(社会科学版)》 >C++虚函数实现多态之案例驱动教学方法探讨

C++虚函数实现多态之案例驱动教学方法探讨

         

摘要

Polymorphism is one of the most important characteristic properties in object-oriented programming methodology,yet,analysis of basic runtime principle of virtual function is insufficient in current textbook and may lead to a bad effectiveness.By means of disassembler and employing case-driven method,it is good for students to understand the basic runtime mechanism of virtual function.%多态性是面向对象程序设计方法学的重要特征之一,其中,运行时多态的语法规则对初学者难以掌握。利用反汇编手段,设计虚函数实现运行时多态的教学驱动案例,对加深学生理解虚函数实现运行时多态的基本原理和运行机制,具有良好的效果。

著录项

相似文献

  • 中文文献
  • 外文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号