节点文献

C++程序设计中的多态性技术探讨

Technological discussion of Polymorphism in C ++ design program

  • 推荐 CAJ下载
  • PDF下载
  • 不支持迅雷等下载工具,请取消加速工具后下载。

【作者】 项芳莉

【Author】 Xiang FangLi

【机构】 黄山学院计算机科学与技术系 安徽 黄山 245021

【摘要】 在C++程序设计中,多态性理解为不同函数的同一接口。C++语言支持两种多态性:编译时的 多态性和运行时的多态性,本文分别给予详细介绍。通过重载函数、重载运算符和虚函数三个方面对比介绍, 能深入领会到多态性的意义和实现,并重点阐述了C++中虚函数的来龙去脉。

【Abstract】 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.

【关键词】 多态性重载隐藏(超越)虚函数
【Key words】 PolymorphismFunction overloadHide(Override)Virtual function
  • 【文献出处】 黄山学院学报 ,Journal of Huangshan University , 编辑部邮箱 ,2004年06期
  • 【分类号】TP312
  • 【被引频次】6
  • 【下载频次】121
节点文献中: 

本文链接的文献网络图示:

本文的引文网络