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

面向对象的C++程序设计中各类对象初始化方法
引用本文:曹彩凤. 面向对象的C++程序设计中各类对象初始化方法[J]. 计算机应用与软件, 2003, 20(3): 59-61
作者姓名:曹彩凤
作者单位:中国科学技术大学信息管理与决策科学系,合肥,230026
摘    要:通过对C++语言的充分挖掘和实践,本文总结了不同类型对象的初始化方法,在此基础上,阐述了嵌套类和复合类等复杂类对象的初始化过程,并给出实例说明,运用所述方法,实现了各类对象正确,高效地初始化,从而为对象的正常运作奠定了坚实基础。

关 键 词:面向对象 C++ 程序设计 对象初始化方法

THE METHODS OF INITIALIZING VARIOUS OBJECTS IN OOP WITH C ++
Cao Caifeng. THE METHODS OF INITIALIZING VARIOUS OBJECTS IN OOP WITH C ++[J]. Computer Applications and Software, 2003, 20(3): 59-61
Authors:Cao Caifeng
Abstract:Through mining and practicing C + + language, this paper summarizes the methods of initializing various objects in OOP with C + + , on which it sets forth the methods of initializing complex objects such as the objects of nested class and compound class, and gives many examples to explain how to use them. By using these methods the program can initialize various objects correctly and efficiently. So objects can run in gear.
Keywords:Class Objcet Initializing  
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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