C++语言中运算符重载的应用研究  被引量:1

Research on Application of Operator Overloading in C++ Language

在线阅读下载全文

作  者:沈慧娟[1] 

机构地区:[1]甘肃广播电视大学教学指导中心,甘肃兰州730030

出  处:《甘肃广播电视大学学报》2006年第3期39-41,共3页Journal of Gansu Radio & Television University

摘  要:重载是C++语言的特性之一,它与内联(inline)、const和virtual构成了C++语言的四种新机制。它主要包括函数重载和运算符重载。文中重在讲述操作符重载的应用和注意事项,并通过实例使读者深入体会操作符重载在C++语言中的灵活应用。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.

关 键 词:C++语言 操作符重载 友元函数 成员函数 

分 类 号:G213[文化科学—新闻学]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象