Website Summary Files Commits Branches @commit @diff @stats
path: root / Sem. 13
diff options
context:
space:
mode:
Commite5ba607e257431c1f901ea3bf9aebcbe7bc5218e (patch)
Author
 Angel Dimitriev <angel_dimitriev@abv.bg>
2022-05-24 23:37:02 +0300
Committer
 GitHub <noreply@github.com>
2022-05-24 23:37:02 +0300
Filese079be70efdef656d0f8b3d59d7ea6f9471e3cd3 /Sem. 13
Object-oriented_programming_FMI-e5ba607e257431c1f901ea3bf9aebcbe7bc5218e.tar
Object-oriented_programming_FMI-e5ba607e257431c1f901ea3bf9aebcbe7bc5218e.tar.gz
Object-oriented_programming_FMI-e5ba607e257431c1f901ea3bf9aebcbe7bc5218e.zip
Parentd0939e748b048b2fa55278f63673753cc62ac5ea (diff)
Parent574829bdfc18fd20e8da815954d7937c07447acb (diff)
Merge pull request #11 from Tony5768/patch-2
Update README.md
1 files changed, 6 insertions, 6 deletions
-rw-r--r--Sem. 13/README.md12
diff --git a/Sem. 13/README.md b/Sem. 13/README.md
index 57fbe3b..900e66b 100644
--- a/Sem. 13/README.md
+++ b/Sem. 13/README.md
@@ -12,7 +12,7 @@ struct Fruit
virtual ~Fruit(){}
};
-struct Apple
+struct Apple : public Fruit
{
void printColor() const override
{
@@ -20,7 +20,7 @@ struct Apple
}
};
-struct Orange
+struct Orange : public Fruit
{
void printColor() const override
{
@@ -29,7 +29,7 @@ struct Orange
};
-struct Lemon
+struct Lemon : public Fruit
{
Lemon(size_t sourness) : sourness(sourness){}
@@ -102,7 +102,7 @@ struct Fruit
virtual Fruit* clone() const = 0; //!
};
-struct Apple
+struct Apple : public Fruit
{
void printColor() const override
{
@@ -115,7 +115,7 @@ struct Apple
};
-struct Orange
+struct Orange : public Fruit
{
void printColor() const override
{
@@ -128,7 +128,7 @@ struct Orange
}
};
-struct Lemon
+struct Lemon : public Fruit
{
Lemon(size_t sourness) : sourness(sourness){}