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

C++中引用的原理及应用
引用本文:左晓静,赵永乐.C++中引用的原理及应用[J].商丘职业技术学院学报,2008,7(2):46-48.
作者姓名:左晓静  赵永乐
作者单位:漯河职业技术学院计算机系,河南,漯河,462002
摘    要:通过引用的声明方法揭示出引用其实就是对内存空间的多种使用机制;并结合实例阐述引用在作为函数参数、函数返回类型、运算符重载和多态方面的应用;总结了对引用在应用中的注意事项.

关 键 词:引用  函数返回类型  运算符重载  多态
文章编号:1671-8127(2008)02-0046-03
修稿时间:2007年12月8日

The Usage and Principle of Reference in C + +
ZUO Xiao-jing,ZHAO Yong-le.The Usage and Principle of Reference in C + +[J].Journal of Shangqiu Vocational and Technical College,2008,7(2):46-48.
Authors:ZUO Xiao-jing  ZHAO Yong-le
Institution:ZUO Xiao - ling, ZHAO Yong - le ( The Computer Department of Luohe Occupation and Technical College, Luohe 462000, China)
Abstract:Articleg passing the avowal melhod of reference to announce 1o public an reference is various usage mechanisms to the memory space; Also combine a solid example to elaborate that the reference is he used as function parameter, function to return to a type and operates a sign heavy carry with many tais of application ; Finally catty on summary to the regulation which quotes fi'om in the application.
Keywords:reference  the return type of function  the overload of the operator  many style
本文献已被 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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