Website Summary Files Commits Branches @commit @diff @stats
path: root / Sem. 14 / Collection / ShapesCollection.h
diff options
context:
space:
mode:
Commitcdf2a120ec426d9b45acf4a38a5d0da1f3c63988 (patch)
Author
 angeld55 <angel_dimitriev@abv.bg>
2021-05-28 16:45:40 +0300
Committer
 angeld55 <angel_dimitriev@abv.bg>
2021-05-28 16:45:40 +0300
Filesd4eecfc34799d9653d7cd340be0f75783c51bbd8 /Sem. 14/Collection/ShapesCollection.h
Object-oriented_programming_FMI-cdf2a120ec426d9b45acf4a38a5d0da1f3c63988.tar
Object-oriented_programming_FMI-cdf2a120ec426d9b45acf4a38a5d0da1f3c63988.tar.gz
Object-oriented_programming_FMI-cdf2a120ec426d9b45acf4a38a5d0da1f3c63988.zip
Parentcbe098fdaf6509b6a3c8bd33b3064d8f620dd58c (diff)
Parent0c68aa5b33576bccbf10e91f3ebf8a95b95cc87c (diff)
Merge branch 'master' of https://github.com/Angeld55/Object-oriented_programming_FMI
1 files changed, 4 insertions, 2 deletions
-rw-r--r--Sem. 14/Collection/ShapesCollection.h6
diff --git a/Sem. 14/Collection/ShapesCollection.h b/Sem. 14/Collection/ShapesCollection.h
index 0a9638d..3256865 100644
--- a/Sem. 14/Collection/ShapesCollection.h
+++ b/Sem. 14/Collection/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
+};