1
0
Fork 0
This repository has been archived on 2021-11-03. You can view files and clone it, but cannot push or open issues or pull requests.
uni-m.cds-adv-prog/ex8.3/Shape.hh

18 lines
306 B
C++
Raw Normal View History

2019-12-10 09:15:28 +01:00
#ifndef SHAPE_HH
#define SHAPE_HH
class Shape {
public:
// Constructor, destructor
Shape() {} ;
virtual ~Shape() {} ;
// Pure virtual interface functions
virtual double surface() const = 0 ;
virtual double circumference() const = 0 ;
2020-01-06 19:07:30 +01:00
virtual const char* shapeName() const = 0;
2019-12-10 09:15:28 +01:00
} ;
#endif