/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* PhoneBook.hpp :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: narnaud +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2022/06/13 09:31:44 by narnaud #+# #+# */ /* Updated: 2022/06/13 15:35:30 by narnaud ### ########.fr */ /* */ /* ************************************************************************** */ #ifndef PHONEBOOK_HPP # define PHONEBOOK_HPP # include "Contact.hpp" # define CONTACTS_AMOUNT 8 class PhoneBook { public: PhoneBook(); int run(); private: Contact contacts[CONTACTS_AMOUNT]; std::string cmd; int id; void add(); void search(); }; #endif