phonebook operationnel et coloree
This commit is contained in:
@@ -2,13 +2,37 @@
|
||||
# define PHONEBOOK_CLASS_HPP
|
||||
|
||||
#include "Contact.class.hpp"
|
||||
#include "color.h"
|
||||
|
||||
#include <cstring>
|
||||
#include <iomanip>
|
||||
#include <sstream>
|
||||
|
||||
class PhoneBook {
|
||||
|
||||
public:
|
||||
|
||||
PhoneBook();
|
||||
~PhoneBook();
|
||||
Contact contact;
|
||||
|
||||
void add_contact();
|
||||
void search_contact();
|
||||
void print_phonebook();
|
||||
void print_contact( int id);
|
||||
|
||||
private:
|
||||
|
||||
Contact contact[8];
|
||||
int contact_count;
|
||||
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
/*
|
||||
* class PhoneBook :
|
||||
* add_contact
|
||||
* print_phonebook
|
||||
* search_by_index
|
||||
* exit
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user