文件名称:1
介绍说明--下载内容均来自于网络,请自行研究使用
1. 定义时间类Time,给出类的成员属性及构造函数、析构函数及普通方法的定义,利用定义的类定义对象,并对对象的属性进行访问;
2. 定义一个类Point,然后定义类Point的派生类Circle,再定义Circle的派生类Cylinder;
3. 通过函数参数类型的不同实现函数重载;
4. 函数模板的定义与使用。
-1. Time the definition of Class Time, given the members of category attributes and constructor, destructor and the definition of common methods, using the definition of the object class definition, and visit the properties of the object 2. The definition of a class Point, then the definition of Point of the derived class type Circle, the Circle re-definition of derived classes Cylinder 3. Through different types of function parameters realize Function Overloading 4. Function template definition and use.
2. 定义一个类Point,然后定义类Point的派生类Circle,再定义Circle的派生类Cylinder;
3. 通过函数参数类型的不同实现函数重载;
4. 函数模板的定义与使用。
-1. Time the definition of Class Time, given the members of category attributes and constructor, destructor and the definition of common methods, using the definition of the object class definition, and visit the properties of the object 2. The definition of a class Point, then the definition of Point of the derived class type Circle, the Circle re-definition of derived classes Cylinder 3. Through different types of function parameters realize Function Overloading 4. Function template definition and use.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
1.doc