23 lines
383 B
C++
23 lines
383 B
C++
#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
|
|
|