From e4d18fcd53413b9b483a42179f1789bc6cf4f646 Mon Sep 17 00:00:00 2001 From: Angeld55 Date: Tue, 24 Sep 2019 00:09:03 +0300 Subject: Add files via upload --- Polymorphism/Figures/Triangle.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Polymorphism/Figures/Triangle.hpp') diff --git a/Polymorphism/Figures/Triangle.hpp b/Polymorphism/Figures/Triangle.hpp index 5ac5a35..5d16111 100644 --- a/Polymorphism/Figures/Triangle.hpp +++ b/Polymorphism/Figures/Triangle.hpp @@ -1,5 +1,7 @@ +#pragma once + #include "Figure.hpp" -class Triangle +class Triangle : public Figure { public: Triangle(int x1, int y1, int x2, int y2, int x3, int y3) :Figure(3) -- cgit v1.3.1-23-gd82d