文件名称:Shape
介绍说明--下载内容均来自于网络,请自行研究使用
声明一个Shape基类,在此基础上派生出Rectangle和Circle类,二者都有GetArea()函数计算对象的面积。
-Declare a Shape base class, derived on this basis, Rectangle and Circle class, both have GetArea () function to calculate the object' s area.
-Declare a Shape base class, derived on this basis, Rectangle and Circle class, both have GetArea () function to calculate the object' s area.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
t3.cpp