cpp00...
This commit is contained in:
35
ex01/Phonebook/Phonebook.hpp
Normal file
35
ex01/Phonebook/Phonebook.hpp
Normal 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
|
||||
Reference in New Issue
Block a user