构造函数与析构函数浅析  

Analysis of the Construction Function and the Destruction Function

在线阅读下载全文

作  者:付卫红[1] 刘建华[1] 

机构地区:[1]安阳工学院,河南安阳455000

出  处:《安阳工学院学报》2005年第3期10-11,共2页Journal of Anyang Institute of Technology

摘  要:构造函数和析构函数是面向对象程序设计中的难点。构造函数有三种情况,在重载赋值运算符时一定要分清楚。动态内存应在适当的时候通过析构函数进行回收。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.

关 键 词:面向对象 构造函数 析构函数 

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

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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