职责分明控指针  

Control Pointer with Clear Duties

在线阅读下载全文

作  者:宋振方[1] SONG Zhen-fang (Academy of Information Technology, Luoyang Normal University, Luoyang 471022, China)

机构地区:[1]洛阳师范学院信息技术学院,河南洛阳471022

出  处:《电脑知识与技术》2011年第4期2327-2329,共3页Computer Knowledge and Technology

摘  要:指针是c/c++语言中至关重要的概念,也是软件界备受争议和讨论的热点。提高指针的使用安全性对于软件的安全具有现实意义。指针是内存的直接管理者,指针做为函数参数在程序中传递导致内存不断拥有新的管理者,程序员弄清不同管理者的职责,进而操控指针控制内存,可提高程序的安全性。结合具体实例分析其有效性。The pointer is crucial concept in C/C++ language but also is controversial and debated in software. It has realistic meanings for software safety to improve the safety of using a pointer.The pointer is direct manager of memory and it is transferred in a program as function parameters causes memory constantly with new managers. Programmers cognizant of the different responsibilities of managers and manipulate pointers to control memory can improve the program's seccurity.Combined with concrete example to analysis its effectiveness.

关 键 词:指针 安全 管理者 职责 

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

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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