- 博客(2)
- 收藏
- 关注
原创 码图:167 抽象类Shape(C++)
题目描述:引入头文件Shape.h,它的内容如下:#include <iostream>using namespace std;class Shape{public: Shape(){} ~Shape(){} virtual double GetArea()=0; virtual double GetPerimeter()=0; static Shape* createRectangle(double length,double width); static Shape*
2021-11-29 17:24:44
1266
2
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅