期刊文献+

构造函数与析构函数浅析

Analysis of the Construction Function and the Destruction Function
下载PDF
导出
摘要 构造函数和析构函数是面向对象程序设计中的难点。构造函数有三种情况,在重载赋值运算符时一定要分清楚。动态内存应在适当的时候通过析构函数进行回收。 The construction function and the destruction function are difficult parts in object - oriented programming design. As the construction function has three kinds of different conditions, assignment operator overriding must be given attention. The dynamic EMS memory should be reclaimed by way of the destruction function at a proper time.
机构地区 安阳工学院
出处 《安阳工学院学报》 2005年第3期10-11,共2页 Journal of Anyang Institute of Technology
关键词 面向对象 构造函数 析构函数 object -oriented the construction function the destruction function
  • 相关文献

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部