Website Summary Files Commits Branches @commit @diff @stats
path: root / Sem. 07
diff options
context:
space:
mode:
Commite3dcf23f46e482dc72e72a68d105bb0fe90fce22 (patch)
Author
 Angel Dimitriev <angel_dimitriev@abv.bg>
2022-05-04 19:09:06 -0400
Committer
 GitHub <noreply@github.com>
2022-05-04 19:09:06 -0400
Files619597c55c9179d716bcb4399473a84a461e60f9 /Sem. 07
Object-oriented_programming_FMI-e3dcf23f46e482dc72e72a68d105bb0fe90fce22.tar
Object-oriented_programming_FMI-e3dcf23f46e482dc72e72a68d105bb0fe90fce22.tar.gz
Object-oriented_programming_FMI-e3dcf23f46e482dc72e72a68d105bb0fe90fce22.zip
Parentcad56f35cd1bad96eb4b326c524f2524c16153a0 (diff)
Update Person.h
1 files changed, 1 insertions, 1 deletions
-rw-r--r--Sem. 07/Person/Person.h2
diff --git a/Sem. 07/Person/Person.h b/Sem. 07/Person/Person.h
index 960d96a..43f0228 100644
--- a/Sem. 07/Person/Person.h
+++ b/Sem. 07/Person/Person.h
@@ -3,7 +3,7 @@
class Person
{
char* name = nullptr;
- int age;
+ int age = 0;
void copyFrom(const Person& other);
void free();