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

C++构造函数构造类成员的方法剖析
引用本文:程有娥.C++构造函数构造类成员的方法剖析[J].中北大学学报(社会科学版),2003,19(3):91-92.
作者姓名:程有娥
作者单位:山西广播电视大学,山西,太原,030027
摘    要:分析 C 中类的数据成员类型 ,说明在构造函数中如何对其进行初始化 ,并举例说明如何正确使用构造函数构造类的成员。

关 键 词:C    构造函数    对象  成员
文章编号:1009-4520(2003)03-0091-02
修稿时间:2003年5月25日

Discussion about the Methods of Using Constructor Function to Construct Data Members of Class
CHEN You-e.Discussion about the Methods of Using Constructor Function to Construct Data Members of Class[J].Journal of North China Institute of Technology(Social Sciences),2003,19(3):91-92.
Authors:CHEN You-e
Abstract:After discussing about the kinds of data members of class in c language, examples are given to show the methods of initializing data members using constructor function. The relationship between class and class in C language is discussed.
Keywords:C    constructor function  class  member
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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