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

C++中的构造函数研究
引用本文:张琳梅.C++中的构造函数研究[J].教育技术导刊,2009,8(2):60-62.
作者姓名:张琳梅
作者单位:信阳农业高等专科学校计算机科学系;
摘    要:以面向对象语言中的C++语言为背景,研究了构造函数的必要性,给出了构造函数的定义和特征,并举例说明构造函数是如何实现对类的数据成员进行初始化及如何正确使用构造函数。

关 键 词:C++  构造函数    对象  成员  

Research on the Constructor Function in the C++ Language
Abstract:The article by object-oriented language C++ in the background, researches on the need for the constructor, gives the definition and characteristics of the constructor, and gives an example of how to initialize data members of the class and the proper use of the constructor.
Keywords:C++  Constructor Function  Class  Object  Member  
本文献已被 CNKI 等数据库收录!
点击此处可从《教育技术导刊》浏览原始摘要信息
点击此处可从《教育技术导刊》下载免费的PDF全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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