This commit is contained in:
Angel Ortigosa Perez
2025-09-07 10:02:26 +02:00
commit 95c25afc03
8 changed files with 438 additions and 0 deletions

View File

@@ -0,0 +1,35 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* Phonebook.hpp :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: aortigos <aortigos@student.42malaga.com +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/09/04 00:42:04 by aortigos #+# #+# */
/* Updated: 2025/09/06 15:38:25 by aortigos ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef PHONEBOOK_HPP
# define PHONEBOOK_HPP
# include <iostream>
# include <sstream>
# include "../Contact/Contact.hpp"
class Phonebook
{
private:
int index;
Contact contacts[8];
public:
Phonebook();
void addContacts();
void showContacts();
void print_table();
void find_contact(int i);
};
#endif