implementation phonebook class

This commit is contained in:
Hugo LAMY
2022-02-03 16:23:36 +01:00
parent aa77271631
commit 8abc2d30a9
7 changed files with 54 additions and 52 deletions

View File

@@ -1,13 +1,26 @@
#include "PhoneBook.class.hpp"
#include "Contact.class.hpp"
PhoneBook::PhoneBook( void ) {
return;
}
PhoneBook::~PhoneBook( void ) {
return;
}
/*
Contact new_contact;
new_contact.add_first(name);
new_contact.add_last("lamy");
new_contact.add_nick("hugonosaure");
new_contact.add_num("0123456789");
new_contact.add_secret("je suis un dino");
std::cout << "FIRST NAME : " << new_contact.get_first() << std::endl;
std::cout << "LAST NAME : " << new_contact.get_last() << std::endl;
std::cout << "NICKNAME : " << new_contact.get_nick() << std::endl;
std::cout << "NUMBER : " << new_contact.get_num() << std::endl;
std::cout << "SECRET : " << new_contact.get_secret() << std::endl;
*/