fix : put len in public
This commit is contained in:
parent
120dfcfd83
commit
16ab359cf2
@ -6,9 +6,9 @@ class PhoneBook {
|
|||||||
private:
|
private:
|
||||||
Contact contacts[8];
|
Contact contacts[8];
|
||||||
size_t number;
|
size_t number;
|
||||||
size_t len;
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
size_t len;
|
||||||
PhoneBook();
|
PhoneBook();
|
||||||
|
|
||||||
void add_contact(Contact &new_contact);
|
void add_contact(Contact &new_contact);
|
||||||
|
Loading…
Reference in New Issue
Block a user