探析C++类的数据封装机制  

Analysis of C++ Classes in Data Encapsulation Mechanism

在线阅读下载全文

作  者:钟红君 

机构地区:[1]韶关市广播电视大学,韶关512026

出  处:《电脑编程技巧与维护》2009年第24期22-23,共2页Computer Programming Skills & Maintenance

摘  要:封装性是面向对象程序设计用于保证程序健壮性的一个重要部分。C++类是抽象数据类型的代表,在数据抽象和封装方面达到了前所未有的高度。本文讨论了数据类型的发展及C++的数据封装机制,并揭示了C++类中数据成员的安全隐患。Encapsulation is the object-oriented program designed to ensure that an important part of the process robustness.C++ class is the representative of abstract data types,and its data abstraction and packaging has reached an unprecedented height.This article discusses the data types of development and C++ data encapsulation mechanism,and reveals the C++ class data members of the security implications.

关 键 词:C++ 数据类型  封装 

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

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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