42_CPP00/ex01/include/PhoneBook.hpp
Camille Chauvet 11eb368caf fix
2023-05-22 12:04:39 +00:00

18 lines
261 B
C++

#include "Contact.hpp"
#include <cstddef>
class PhoneBook {
private:
Contact *contacts[8];
public:
size_t len;
PhoneBook();
~PhoneBook();
void add_contact(Contact *new_contact);
void display_contacts();
Contact* search(int index);
};