42_CPP00/ex01/include/PhoneBook.hpp

18 lines
261 B
C++
Raw Normal View History

2023-05-22 08:04:39 -04:00
#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);
};