/* ************************************************************************** */ /* */ /* :::::::: */ /* PhoneBook.hpp :+: :+: */ /* +:+ */ /* By: whaffman +#+ */ /* +#+ */ /* Created: 2025/03/20 10:53:48 by whaffman #+# #+# */ /* Updated: 2025/04/01 11:38:02 by whaffman ######## odam.nl */ /* */ /* ************************************************************************** */ #pragma once #include "Contact.hpp" #include #define MAX_CONTACTS 8 class PhoneBook { public: PhoneBook(); void run(); private: Contact _contacts[MAX_CONTACTS]; int _contactCount; void printContact(const int i) const; void printAllContacts() const; std::string truncate(std::string str) const; void searchContact() const; void addContact(); };