C++中的构造函数研究  

Research on the Constructor Function in the C++ Language

在线阅读下载全文

作  者:张琳梅[1] 

机构地区:[1]信阳农业高等专科学校计算机科学系,河南信阳464000

出  处:《软件导刊》2009年第2期60-62,共3页Software Guide

摘  要:以面向对象语言中的C++语言为背景,研究了构造函数的必要性,给出了构造函数的定义和特征,并举例说明构造函数是如何实现对类的数据成员进行初始化及如何正确使用构造函数。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.

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

分 类 号:TP312[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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