分析开发过程中常遇的内存泄露和内存越界等问题,提出一种有效的内存管理方案。方案主要包括优化原有的内存管理函数和引入保存内存信息的信息链表两方面。文中还给出基于该方案的具体C语言实现和应用例程。
Abstract
The paper analyses memory leakage and out of range problems in software development, and provides a new scheme to effectively manage memory. This scheme include optimizing the system functions of memory management and introducing the information linked list for keeping information about memory meanagement. The paper also gives a program of this scheme in the C language and some routines.
{{custom_sec.title}}
{{custom_sec.title}}
{{custom_sec.content}}
参考文献
[1 ] Steve M. 编程精粹———Microsoft 编写优质无错C 程序秘诀. 北京:电子工业出版社,1994
[ 2 ] Jeffrey R. Windows NT 高级编程技术. 北京:清华大学出版社,1994
[3 ] 埃利斯·霍罗维茨,萨尔塔·萨尼,狄尼斯·梅坦. 用C ++ 描述数据结构. 北京:国防工业出版社,1997
[4 ] 山下浩,黑羽裕章,黑岩健太郎. C + + 程序设计. 北京:科学出版社,1995
[5 ] 程文斌,王一行. Microsoft C/ C + + 和Visual C/ C + +库函数和MFC 库类详解. 北京:北京航空航天大学出版社,1995
[6 ] 潭浩强. C 程序设计. 北京:清华大学出版社,1991
{{custom_fnGroup.title_cn}}
脚注
{{custom_fn.content}}