cpp/cpp00/ex01/PhoneBook.hpp
Alexandre POMMIER 8543b33348 correct cpp00
2022-07-23 11:58:33 +02:00

35 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:57:45 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();
private:
int _NbrContact;
int _nbrContactSet;
Contact _Contact[8];
};
#endif