Website Summary Files Commits Branches @commit @diff @stats
path: root / Sem. 01
diff options
context:
space:
mode:
Commit9c62a66bec85827be1d260b8ebfbf9f4c67cb540 (patch)
Author
 Angel Dimitriev <angel_dimitriev@abv.bg>
2022-02-22 20:52:31 +0200
Committer
 GitHub <noreply@github.com>
2022-02-22 20:52:31 +0200
Files31aa056e34188868df195fee7ccc15f1b1ceaf00 /Sem. 01
Object-oriented_programming_FMI-9c62a66bec85827be1d260b8ebfbf9f4c67cb540.tar
Object-oriented_programming_FMI-9c62a66bec85827be1d260b8ebfbf9f4c67cb540.tar.gz
Object-oriented_programming_FMI-9c62a66bec85827be1d260b8ebfbf9f4c67cb540.zip
Parent85376a358e87de382a2386f1f66accdc6b8a0402 (diff)
Update README.md
1 files changed, 3 insertions, 2 deletions
-rw-r--r--Sem. 01/README.md5
diff --git a/Sem. 01/README.md b/Sem. 01/README.md
index c97a01f..9d25d7c 100644
--- a/Sem. 01/README.md
+++ b/Sem. 01/README.md
@@ -87,13 +87,14 @@ struct Box
### Деклариране на обекти от новия тип
```c++
-Box b; //default values to height and weight
+Box b; //default values to height and width ans lenght
Box b2 = {3, 4, 3.4} // height = 3, width = 3, length = 3.4;
Box b3;
b3.height = 13;
-b3.weight = 14;
+b3.width = 14;
+b3.lenght = 20;
```
#### Подаване във функции