implementation phonebook class
This commit is contained in:
@@ -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;
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user