From 110481bee48bdb18f3d635cbc507aac1acc7c694 Mon Sep 17 00:00:00 2001 From: angeld55 Date: Tue, 24 May 2022 20:10:50 +0300 Subject: added shapes collection --- Sem. 12/Example_polymorphism/Shape.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Sem. 12/Example_polymorphism/Shape.h') diff --git a/Sem. 12/Example_polymorphism/Shape.h b/Sem. 12/Example_polymorphism/Shape.h index 62f5c41..6e189d7 100644 --- a/Sem. 12/Example_polymorphism/Shape.h +++ b/Sem. 12/Example_polymorphism/Shape.h @@ -38,4 +38,6 @@ public: virtual double getArea() const = 0; //pure virtual virtual double getPer() const = 0; // pure virtual + virtual bool isPointIn(int x, int y) const = 0; + }; \ No newline at end of file -- cgit v1.3.1-23-gd82d