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