27 lines
711 B
C++
27 lines
711 B
C++
#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;
|
|
*/
|