From 33613a85afc4b1481367fbe92a17ee59c240250b Mon Sep 17 00:00:00 2001 From: Sven Eisenhauer Date: Fri, 10 Nov 2023 15:11:48 +0100 Subject: add new repo --- Bachelor/Prog2/Prakt2/geomObj/Shape.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 Bachelor/Prog2/Prakt2/geomObj/Shape.h (limited to 'Bachelor/Prog2/Prakt2/geomObj/Shape.h') diff --git a/Bachelor/Prog2/Prakt2/geomObj/Shape.h b/Bachelor/Prog2/Prakt2/geomObj/Shape.h new file mode 100644 index 0000000..481c2be --- /dev/null +++ b/Bachelor/Prog2/Prakt2/geomObj/Shape.h @@ -0,0 +1,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_ -- cgit v1.2.3