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

C++中共享数据的保护方法
引用本文:揣锦华,马荣贵.C++中共享数据的保护方法[J].长安大学学报(自然科学版),2005,25(3):100-102.
作者姓名:揣锦华  马荣贵
作者单位:长安大学,信息工程学院,陕西,西安,710064
摘    要:在分析破坏数据安全性原因的基础上,通过对C^ 面向对象程序设计中常类型和常成员的深入研究,提出了将既需要共享、又需要防止改变的数据声明为常量,并探讨了常引用、常对象和用const修饰的对象成员的使用方法,实现对C^ 面向对象程序设计中共享数据的保护。

关 键 词:计算机工程  面向对象程序设计    数据共享  常类型  C^++
文章编号:1671-8879(2005)03-0100-03
修稿时间:2004年1月8日

Protection of data shared in C++
CHUAI Jin-hua,MA Rong-gui.Protection of data shared in C++[J].JOurnal of Chang’an University:Natural Science Edition,2005,25(3):100-102.
Authors:CHUAI Jin-hua  MA Rong-gui
Abstract:The reason of destroying data security was analyzed, and the constants and constant member in C object-oriented programming were studied. The data requiring both share and protection were decleared as constant, and the methods of using constants and constant members were discussesed. In C object-oriented programming, the protection of data sharing was realized.6 refs.
Keywords:computer engineering  object-oriented programming  class  data shared  constant  C
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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