C++语言中共享机制的实现  被引量:1

Sharing Mechanism of the C++ language

在线阅读下载全文

作  者:赵娟[1] ZHAO Juan(Xi’an Technological University North Institute of Information Engineering, Xi’an 710025, China)

机构地区:[1]西安工业大学北方信息工程学院,陕西西安710025

出  处:《电脑知识与技术》2019年第2期212-213,共2页Computer Knowledge and Technology

摘  要:本文主要介绍C++语言中通过全局变量、局部变量、类的数据成员、类的静态数据成员、友元来实现了函数间、对象间的共享,在实现共享的同时,又保护了数据,使数据的安全性得到了提高。This paper introduces that it shares data between function and object, through global variables, local variables, data mem. bers of the class, static data members of the class, a friend to achieve inter-function, in C ++ language. At the same time, it protects the data, so that data security has been improved.

关 键 词:C++ 数据 函数 安全性 

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

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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