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

C++构造函数构造类成员的方法剖析
引用本文:梁伍七. C++构造函数构造类成员的方法剖析[J]. 安徽广播电视大学学报, 2002, 0(1): 86-88. DOI: 10.3969/j.issn.1008-6021.2002.01.022
作者姓名:梁伍七
作者单位:安徽广播电视大学,安徽,合肥,230022
摘    要:分析c++中类的数据成员类型,说明在构造函数中如何对其进行初始化,并举例说明如何正确使用构造函数构造类的成员.

关 键 词:c%2B%2B  构造函数    对象  成员
文章编号:1008-6021(2002)01-0086-03

Discussion about the Methods of Using Constructor Function to Construct Data Members of Class
LIANG Wu -qi. Discussion about the Methods of Using Constructor Function to Construct Data Members of Class[J]. Journal of Anhui Television University, 2002, 0(1): 86-88. DOI: 10.3969/j.issn.1008-6021.2002.01.022
Authors:LIANG Wu -qi
Abstract:After discussing about the kinds of d ata members of class in c ++language,the author gives the examples to show the methods of initi alizing data members using constructor function,and discusses the rela tion -ship between class and class in c ++la nguage.
Keywords:c ++  constructor function  class  o bject  member  
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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