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.
|
#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 ;
|
|
} ;
|
|
|
|
#endif
|