fix : put len in public

This commit is contained in:
starnakin 2023-07-10 18:28:46 +02:00
parent 120dfcfd83
commit 16ab359cf2

View File

@ -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);