Website Summary Files Commits Branches @commit @diff @stats
path: root / Sem. 14 / ShapesCollection
diff options
context:
space:
mode:
Commit1a912f836f096e2fc67381831a1f654199f5e7f9 (patch)
Author
 Angel Dimitriev <achi_d@abv.bg>
2021-05-28 14:28:34 +0300
Committer
 GitHub <noreply@github.com>
2021-05-28 14:28:34 +0300
Filesf4412e4e574f230346732e3df33044510b16cfef /Sem. 14/ShapesCollection
Object-oriented_programming_FMI-1a912f836f096e2fc67381831a1f654199f5e7f9.tar
Object-oriented_programming_FMI-1a912f836f096e2fc67381831a1f654199f5e7f9.tar.gz
Object-oriented_programming_FMI-1a912f836f096e2fc67381831a1f654199f5e7f9.zip
Parent7f4cfc6c2114b81bc480f05ceebc643598a92d25 (diff)
Update ShapesCollection.h
1 files changed, 4 insertions, 2 deletions
-rw-r--r--Sem. 14/ShapesCollection/ShapesCollection.h6
diff --git a/Sem. 14/ShapesCollection/ShapesCollection.h b/Sem. 14/ShapesCollection/ShapesCollection.h
index 9077c74..1430fc7 100644
--- a/Sem. 14/ShapesCollection/ShapesCollection.h
+++ b/Sem. 14/ShapesCollection/ShapesCollection.h
@@ -14,13 +14,15 @@ class ShapesCollection
public:
- //factory
+ //factory
void addCircle(double x, double y, double radius);
void addRectangle(double x1, double y1, double x3, double y3);
void addTriangle(double x1, double y1, double x2, double y2, double x3, double y3);
void addRhombus(double x1, double y1, double x2, double y2);
void addSquare(double x1, double y2, double sideLength);
+ //
+
void printAreas();
void printPers();
@@ -30,4 +32,4 @@ public:
ShapesCollection& operator=(const ShapesCollection& other);
~ShapesCollection();
-}; \ No newline at end of file
+};