Files
42_INT_09_piscine_cpp/d00/ex01/Contact.class.hpp
2022-02-03 16:23:36 +01:00

47 lines
717 B
C++

#ifndef CONTACT_CLASS_HPP
# define CONTACT_CLASS_HPP
# include <iostream>
# include <string>
class Contact {
public:
Contact();
~Contact();
void add_first(std::string str);
void add_last (std::string str);
void add_nick (std::string str);
void add_num(std::string str);
void add_secret(std::string str);
std::string get_first();
std::string get_last ();
std::string get_nick ();
std::string get_num();
std::string get_secret();
void print_contact();
private:
std::string first;
std::string last;
std::string nick;
std::string num;
std::string secret;
};
#endif
/*
* create_contact (first ; last ; nick ; num ; secret)
* get_first
* get_last
* get_nick
* print_contact
*/