期刊文献+

C++运算符重载剖析

Analysis of Operator Overloading in C++
下载PDF
导出
摘要 重载是面向对象程序设计中的一种重要机制,可以提高程序可读性,实现多态性。C++语言中有两种重载:函数重载和运算符重载。运算符重载实质就是函数重载。本文主要讨论的是C++中运算符重载的规则、机制以及形式。 Overloading is one of the important mechanisms in object oriented programming, it can improve the readability of the program to achieve polymorphism. There are two kinds of overloading in C++ language: function overloading and operator overloading. In fact, operator overloading is overloaded functions. This paper mainly discusses the rules, mechanisms and forms of operator overloading in C++.
作者 庞新法
出处 《价值工程》 2014年第17期213-214,共2页 Value Engineering
关键词 程序设计 面向对象 函数重载 运算符重载 多态性 program design object oriented function overloading operator overloading polymorphism
  • 相关文献

参考文献1

  • 1钱能.C++程序设计教程[M].清华大学出版社,2002..

共引文献3

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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