phonebook class contact fonction print fonctionne
This commit is contained in:
22
d00/ex01/Contact.class.hpp
Normal file
22
d00/ex01/Contact.class.hpp
Normal file
@@ -0,0 +1,22 @@
|
||||
#ifndef CONTACT_CLASS_HPP
|
||||
# define CONTACT_CLASS_HPP
|
||||
|
||||
#include <string>
|
||||
|
||||
class Contact {
|
||||
public:
|
||||
Contact();
|
||||
~Contact();
|
||||
std::string index;
|
||||
std::string first;
|
||||
std::string last;
|
||||
std::string nick;
|
||||
void add_index(std::string str);
|
||||
void add_first(std::string str);
|
||||
void add_last (std::string str);
|
||||
void add_nick (std::string str);
|
||||
void print_contact();
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user