35 lines
1.2 KiB
C++
35 lines
1.2 KiB
C++
/* ************************************************************************** */
|
|
/* */
|
|
/* ::: :::::::: */
|
|
/* 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 |