C++中使用const实现共用数据的保护  

Protection of Shared Data in C++ by Const Constant

在线阅读下载全文

作  者:樊继[1] 牛晓灵[1] 

机构地区:[1]平顶山工业职业技术学院,河南平顶山467001

出  处:《承德石油高等专科学校学报》2007年第1期21-24,共4页Journal of Chengde Petroleum College

摘  要:列举实例分析const常量与指针及const常量与对象在共用数据保护中的应用,保证了数据能在一定范围内共享,又不被任意修改,增加了数据的安全性。This paper analyzes the application of const constant and pointer, the const constant and object in the protection of shared data with examples, to ensure the data is shared safely without being changed.

关 键 词:CONST 常对象 数据保护 指针 

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

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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