phonebook class contact fonction print fonctionne

This commit is contained in:
hugogogo
2022-02-02 21:30:13 +01:00
parent cdd562216a
commit 9d45496f8b
14 changed files with 117 additions and 96 deletions

View 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