首页 | 本学科首页   官方微博 | 高级检索  
     

对c++中malloc/free和new/delete的探讨
引用本文:戴春燕,徐智文.对c++中malloc/free和new/delete的探讨[J].包钢科技,2009,35(1):59-60.
作者姓名:戴春燕  徐智文
作者单位:包钢(集团)公司包头钢铁职业技术学院,内蒙古,包头,014010;包钢(集团)公司包头钢铁职业技术学院,内蒙古,包头,014010
摘    要:函数nlalloc/free和运算符new/delete是C与C++中进行动态内存分配必不可少的工具。文章从语法、功能以及它们的相同点与不同点等方面介绍了malloc/free和new/delete在内存分配上的应用。

关 键 词:C++  对象  malloe  free  new  delete

Discussion about Malloc/Free and New/Delete in C++
DAI Chun-yan,XU Zhi-wen.Discussion about Malloc/Free and New/Delete in C++[J].Science & Technology of Baotou Steel(Group) Corporation,2009,35(1):59-60.
Authors:DAI Chun-yan  XU Zhi-wen
Affiliation:Baotou Vocational and Technical College of Iron & Steel;Baotou 014010;Nei Monggol;China
Abstract:The function malloc/free and the operator new/delete are absolutely necessary tools to distribute dynamic memory in c and c++.From syntax,function,the sameness and difference between malloc/free and new/delete,the article introduces the application in distribution of dynamic memory.
Keywords:C    malloe  free  new  delete
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号