Website Summary Files Commits Branches @commit @diff @stats
diff options
context:
space:
mode:
2 files changed, 5 insertions, 3 deletions
-rw-r--r--Sem. 05/README.md2
-rw-r--r--Sem. 14/Collection/ShapesCollection.h6
diff --git a/Sem. 05/README.md b/Sem. 05/README.md
index ae881aa..d9bd067 100644
--- a/Sem. 05/README.md
+++ b/Sem. 05/README.md
@@ -6,7 +6,7 @@
struct Point
{
int x;
- int y
+ int y;
};
bool isInFirstQuadrant(const Point& p)
{
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
+};