C++/C v 1.0
2001 Page 4 of 101
6.1 .............................................................................................................36
6.2 .........................................................................................................37
6.3 ..............................................................................................39
6.4 ................................................................................................................40
6.5 ................................................................................................................41
6.6 ..................................................................................................42
第 7 章 内存管理.............................................................................................................44
7.1 ..........................................................................................................44
7.2 .......................................................................................44
7.3 ..................................................................................................45
7.4 ...............................................................................47
7.5 FREE DELETE ............................................................................50
7.6 ...................................................................................50
7.7 .....................................................................................................51
7.8 MALLOC/FREE NEW/DELETE ..................................................52
7.9 ..................................................................................................53
7.10 MALLOC/FREE ...................................................................................54
7.11 NEW /DELETE ......................................................................................55
7.12 .......................................................................................................56
第 8 章 C++函数的高级特性 ...........................................................................................57
8.1 .....................................................................................................57
8.2 ...............................................................................60
8.3 .........................................................................................................63
8.4 .............................................................................................................64
8.5 ................................................................................................................65
8.6 .........................................................................................................68
第 9 章 类的构造函数、析构函数与赋值函数................................................................69
9.1 ...................................................................................69
9.2 ..............................................................................................70
9.3 ..................................................................................................72
9.4 STRING .............................................................72
9.5 .......................................................................73
9.6 STRING ......................................................73
9.7 ............................................................75
9.8 .......................................................................75
9.9 .........................................................................................................77
第 10 章 类的继承与组合................................................................................................78