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

C++中拷贝构造函数的使用
引用本文:蔡朝晖,崔金宝. C++中拷贝构造函数的使用[J]. 大庆师范学院学报, 2004, 24(4): 46-50
作者姓名:蔡朝晖  崔金宝
作者单位:大庆师范学院,计算机系,黑龙江,大庆,163712
摘    要:本文对C++程序设计语言中,类定义中常用的三大函数作了简要交待,重点描述了其中拷贝构造 函数的作用和使用方法,并在拷贝构造函数的灵活运用方面作了点尝试。

关 键 词:  拷贝构造函数  引用  初始化
文章编号:1006-2165(2004)04-0046-05
修稿时间:2004-06-04

Use of copy- constructor function in C++
CAI Zhaohui,CUI Jingbao. Use of copy- constructor function in C++[J]. Journal of Daqing Normal University, 2004, 24(4): 46-50
Authors:CAI Zhaohui  CUI Jingbao
Abstract:In this paper, the author gives a brief introduction to the 3 functions, which are used frequently, in class definition of C++ programming. The author mainly describes the usage and the method of use to the copy - constructor function, and gives some examples in flexibly using the function.
Keywords:Class of copy - constructor functions   Reference   Initializer.
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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