diff options
Update Person.cpp
1 files changed, 1 insertions, 1 deletions
| -rw-r--r-- | Sem. 07/Person/Person.cpp | 2 |
diff --git a/Sem. 07/Person/Person.cpp b/Sem. 07/Person/Person.cpp index 36262a4..eff781d 100644 --- a/Sem. 07/Person/Person.cpp +++ b/Sem. 07/Person/Person.cpp @@ -14,7 +14,7 @@ void Person::free() delete[] name;
}
-Person::Person(const char* name, int age) : age(3)
+Person::Person(const char* name, int age)
{
setName(name);
setAge(age);
|
