首页 | 官方网站   微博 | 高级检索  
     

C+ +中数据成员初始化的深入分析
引用本文:张永,胡建明,黄华.C+ +中数据成员初始化的深入分析[J].计算机与数字工程,2005,33(3):53-54.
作者姓名:张永  胡建明  黄华
作者单位:南昌航空工业学院计算机系,南昌,330034;南昌航空工业学院计算机系,南昌,330034;南昌航空工业学院计算机系,南昌,330034
摘    要:深入分析了C 中类的数据成员类型以及类中数据成员初始化的作用和实现方法,指出了程序设计中出现的问题和解决方法,并举例说明如何正确使用成员初始化法。

关 键 词:  C++  数据成员  程序设计  初始化
修稿时间:2004年6月21日

Deep Analysis of Data Member Initialization in C++
Zhang Yong,Hu Jianming,Huang Hua.Deep Analysis of Data Member Initialization in C++[J].Computer and Digital Engineering,2005,33(3):53-54.
Authors:Zhang Yong  Hu Jianming  Huang Hua
Abstract:On the basis of deep analyzing the kinds of data members of class in c++ language, and discussing about the effect and realization methods of data member initialization ,and after pointing out the problem in programming design and giving out the resolvent, the author gives the examples to show the methods of initializing data members using constructor function.
Keywords:class  C++  data member  program design  initialization
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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

京公网安备 11010802026262号