cpp/cpp00/ex01/PhoneBook.hpp
Alexandre POMMIER 22c98ea257 correct cpp00
2022-07-22 12:47:34 +02:00

36 lines
1.2 KiB
C++

/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* PhoneBook.hpp :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: apommier <apommier@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/04/15 10:37:24 by apommier #+# #+# */
/* Updated: 2022/07/22 12:32:50 by apommier ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef PHONEBOOK_HPP
# define PHONEBOOK_HPP
# include "Contact.hpp"
class PhoneBook {
public:
PhoneBook(void);
~PhoneBook(void);
void StoreContact(Contact *NewContact);
void PrintContact(int index);
void PrintIndex();
//void deleteContact();
private:
int _NbrContact;
int _nbrContactSet;
Contact _Contact[8];
};
#endif