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

C++语言中运算符重载的应用研究
引用本文:沈慧娟.C++语言中运算符重载的应用研究[J].甘肃广播电视大学学报,2006,16(3):39-41.
作者姓名:沈慧娟
作者单位:甘肃广播电视大学,教学指导中心,甘肃,兰州,730030
摘    要:重载是C 语言的特性之一,它与内联(inline)、const和virtual构成了C 语言的四种新机制。它主要包括函数重载和运算符重载。文中重在讲述操作符重载的应用和注意事项,并通过实例使读者深入体会操作符重载在C 语言中的灵活应用。

关 键 词:C  语言  操作符重载  友元函数  成员函数
文章编号:1008-4630(2006)03-0039-03
收稿时间:03 20 2006 12:00AM
修稿时间:2006年3月20日

Research on Application of Operator Overloading in C++ Language
SHEN Hui-Juan.Research on Application of Operator Overloading in C++ Language[J].Journal of Gansu Radio & TV University,2006,16(3):39-41.
Authors:SHEN Hui-Juan
Abstract:Overloading is one of the characteristics of C language.It forms four kinds of new system with 'inline','const' and 'virtual'.It mainly contains the function overloading and operator overloading. The paper refers to application of operator overloading and some points for attention and makes readers know about the flexible application of operator overloading from practical cases in the C language.
Keywords:C  language  operator overloading  friend function  member function  
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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