期刊文献+

C++程序设计中的多态性技术探讨 被引量:3

Technological discussion of Polymorphism in C ++ design program
下载PDF
导出
摘要 在C++程序设计中,多态性理解为不同函数的同一接口。C++语言支持两种多态性:编译时的 多态性和运行时的多态性,本文分别给予详细介绍。通过重载函数、重载运算符和虚函数三个方面对比介绍, 能深入领会到多态性的意义和实现,并重点阐述了C++中虚函数的来龙去脉。 In C ++ design program, Polymorphism is interpreted as the same interface of different function. C ++ language supports two kinds of Polymorphism: static polymorphism and dynamic polymorphism.This text offers the detailed introduction separately. Through Function overload, Operate overload and Virtual function to compare with the introduction again, can understand the meanings of polymorphism and realize thoroughly , and has explained the ins and outs of Virtual function in C ++ especially.
作者 项芳莉
出处 《黄山学院学报》 2004年第6期17-21,共5页 Journal of Huangshan University
关键词 多态性技术 重栽函数 虚函数 C++程序设计 重载运算符 Polymorphism Function overload Hide(Override) Virtual function
  • 相关文献

同被引文献3

  • 1李师贤,李文军,周晓聪.面向对象程序设计基础[M].北京:高等教育出版社,2002.
  • 2陈志泊,王春玲.面向对象程序设计语言--C++[M].北京:人民邮电出版社,2006.
  • 3锐马,胡思康.C++语言程序设计习题集[M].北京:人民邮电出版社,2003.

引证文献3

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部