blob: 481c2be885b32bb3656d9e2c16c459351017b777 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#ifndef _SHAPE_H_
#define _SHAPE_H_
class Shape
{
public:
Shape();
virtual ~Shape();
virtual double getCircumference() = 0;
virtual double getArea() = 0;
double operator-(Shape*);
};
#endif //_SHAPE_H_
|