文件名称:ch14
介绍说明--下载内容均来自于网络,请自行研究使用
一、教学目的:
要求掌握C++对内存的管理方法,能灵活使用new和delete运算符对堆进行操作。理解和正确使用拷贝构造函数,理解临时对象和无名对象的概念。
二、教学重点:
通过大量的例程的分析,使学生正确掌握堆的分配释放操作,拷贝构造函数的使用。
三、教学难点:
深拷贝和浅拷贝的区别,临时对象和无名对象的理解。-I. Teaching Purpose: To request grasp C++ Memory management methods, the flexibility to use new and delete operators to operate on the heap. Understanding and proper use of copy constructor, understanding unnamed temporary objects and object concepts. Second, the teaching focus: Through the analysis of a large number of routines so that students master the correct distribution of the release of reactor operation, the use of copy constructor. Third, teaching difficult: deep copy and shallow copy of the distinction, temporary objects and the understanding of unknown objects.
要求掌握C++对内存的管理方法,能灵活使用new和delete运算符对堆进行操作。理解和正确使用拷贝构造函数,理解临时对象和无名对象的概念。
二、教学重点:
通过大量的例程的分析,使学生正确掌握堆的分配释放操作,拷贝构造函数的使用。
三、教学难点:
深拷贝和浅拷贝的区别,临时对象和无名对象的理解。-I. Teaching Purpose: To request grasp C++ Memory management methods, the flexibility to use new and delete operators to operate on the heap. Understanding and proper use of copy constructor, understanding unnamed temporary objects and object concepts. Second, the teaching focus: Through the analysis of a large number of routines so that students master the correct distribution of the release of reactor operation, the use of copy constructor. Third, teaching difficult: deep copy and shallow copy of the distinction, temporary objects and the understanding of unknown objects.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
ch14堆与拷贝构造函数
....................\1.cpp
....................\1.dsp
....................\1.dsw
....................\1.ncb
....................\1.opt
....................\1.plg
....................\2.cpp
....................\3.cpp
....................\4.cpp
....................\ch14 堆与拷贝构造函数.ppt
....................\Debug
....................\1.cpp
....................\1.dsp
....................\1.dsw
....................\1.ncb
....................\1.opt
....................\1.plg
....................\2.cpp
....................\3.cpp
....................\4.cpp
....................\ch14 堆与拷贝构造函数.ppt
....................\Debug