/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* PhoneBook.hpp :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: narnaud +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2022/06/13 09:31:44 by narnaud #+# #+# */ /* Updated: 2022/06/13 15:35:30 by narnaud ### ########.fr */ /* */ /* ************************************************************************** */ #pragma once #include "Contact.hpp" #include #define CONTACTS_AMOUNT 8 class PhoneBook { public: PhoneBook(); void run(); private: Contact _contacts[CONTACTS_AMOUNT]; int _id; void add(); void search(); };