/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* PhoneBook.hpp :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: fgras-ca +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2023/12/23 17:55:10 by fgras-ca #+# #+# */ /* Updated: 2023/12/23 19:52:34 by fgras-ca ### ########.fr */ /* */ /* ************************************************************************** */ #ifndef PHONEBOOK_HPP # define PHONEBOOK_HPP #include "Contact.hpp" #include #include #include #include class PhoneBook { public: PhoneBook(); ~PhoneBook(); void AddContact(); void SearchContact() const; private: Contact contacts[8]; int next_index; int total_contacts; }; #endif