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

C 复制构造函数的探讨
引用本文:徐湘,周元哲.C 复制构造函数的探讨[J].陕西师范大学学报,2005(Z1).
作者姓名:徐湘  周元哲
作者单位:西北大学计算机科学系 西安邮电学院计算机科学与技术系 陕西 西安 陕西 西安
摘    要:介绍了C 中复制构造函数的定义、作用及应用条件,就一个例子探讨了默认复制构造函数、自定义构造函数的使用条件,并给出了一些注意的问题.

关 键 词:构造函数  默认复制构造函数  自定义复制构造函数

An analysis of copy-constructor function in C
XU Xiang,ZHOU Yuan-zhe.An analysis of copy-constructor function in C[J].Journal of Shaanxi Normal University: Nat Sci Ed,2005(Z1).
Authors:XU Xiang  ZHOU Yuan-zhe
Abstract:The definition, applications and applied conditions of the copy-constructor function in C are introduced. With an example, the conditions of using default and custom copy constructors are recommended.
Keywords:constructor function  default copy constructor function  custom copy constructor functoin  
本文献已被 CNKI 维普 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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