33 lines
1.1 KiB
C++
33 lines
1.1 KiB
C++
/* ************************************************************************** */
|
|
/* */
|
|
/* ::: :::::::: */
|
|
/* PhoneBook.hpp :+: :+: :+: */
|
|
/* +:+ +:+ +:+ */
|
|
/* By: erey-bet <marvin@42.fr> +#+ +:+ +#+ */
|
|
/* +#+#+#+#+#+ +#+ */
|
|
/* Created: 2023/04/08 17:41:02 by erey-bet #+# #+# */
|
|
/* Updated: 2023/04/19 14:07:39 by erey-bet ### ########.fr */
|
|
/* */
|
|
/* ************************************************************************** */
|
|
|
|
#ifndef PHONEBOOK_HPP
|
|
# define PHONEBOOK_HPP
|
|
|
|
# include "Contact.hpp"
|
|
|
|
class PhoneBook {
|
|
public:
|
|
PhoneBook(void);
|
|
void add(void);
|
|
void search(void);
|
|
void exit(void);
|
|
|
|
private:
|
|
Contact contact_list[8];
|
|
int size;
|
|
int index;
|
|
|
|
};
|
|
|
|
#endif
|