正在加载图片...
OBJECTIVES low to use a preprocessor wrapper to prevent multiple definition errors caused by including more than one copy of a header fille in a source -code file (使用预处理操作避免重复定义) o To understand class scope and accessing class members via the name of an object, a reference to an object or a pointer to an object.(访问类的成员) To define constructors with default arguments.(定义具有默认实 参的构造函数) How destructors are used to perform"termination housekeeping on an object before it is destroyed.(析构函数的使用) When they are called.(构造函数和析构函数的调用顺分 derin constructors and destructors are callled and the o which The logic errors that may occur when a public member function of a class returns a reference to private data.(访问权限引起的逻 辑错误) To assign the data members of one object to those of another object6 y default memberwise assignment.(通过成员赋值将一个 对象的数据成员赋给另一个对象的相应成员) 0 2018, SEU. All rights reserved. 2© 2009, SEU. All rights reserved. © 2018, SEU. All rights reserved. 2 OBJECTIVES How to use a preprocessor wrapper to prevent multiple definition errors caused by including more than one copy of a header file in a source-code file. (使用预处理操作避免重复定义) To understand class scope and accessing class members via the name of an object, a reference to an object or a pointer to an object.(访问类的成员) To define constructors with default arguments.(定义具有默认实 参的构造函数) How destructors are used to perform “termination housekeeping” on an object before it is destroyed.(析构函数的使用) When constructors and destructors are called and the order in which they are called.(构造函数和析构函数的调用顺序) The logic errors that may occur when a public member function of a class returns a reference to private data.(访问权限引起的逻 辑错误) To assign the data members of one object to those of another object by default memberwise assignment.(通过成员赋值将一个 对象的数据成员赋给另一个对象的相应成员)
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有