检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:李薇[1] 陈静[1] LI Wei (College of Electronic Science and Information Technology of Guizhou University, Guizhou 550003, China)
出 处:《电脑知识与技术》2007年第6期1320-1320,1337,共2页Computer Knowledge and Technology
摘 要:内存管理是计算机编程最为基本的领域之一。在很多脚本语言中,不必担心内存是如何管理的,这并不能使得内存管理的重号性有一点点降低。对实际编程来说,理解内存管理器的能力与局限性至关重要。在大部分系统语言中,比如C和C++,必须进行内存管理。本文将介绍C/C++内存管理的基本技术及应用。C++中涉及到的内存的管理问题可以归结为两方面:正确地得到它和有效地使用它。“正确地得到”的意思是正确地调用内存分配和释放程序;而“有效地使用”指写特定版本的内存分配和释放程序。The memory management is one of the most basic domains in computer programming. In many script language, how to managing the memory is not a problem, because it cannot reduce the importance of the memory management. To the actual programming, understanding memory supervisor ability and the limitation is of great important, In majority of system languages, for instance C/C++, we must carry on the memory management. This article will introduce the basic technology and the application of the C/C++ memory management. The memory management question in C++ may sum up two aspects: Obtains it correctly and uses it effectively. The meaning of Obtains correctly is transferring the memory allocation and releasing procedure correctly, and " using effectively" means writing the memory allocation and releasing procedure of the specific edition.
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.28