You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
1.2 KiB

3 years ago
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* Contact.hpp :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: narnaud <narnaud@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/06/13 13:02:55 by narnaud #+# #+# */
/* Updated: 2022/06/13 16:35:43 by narnaud ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef CONTACT_HPP
# define CONTACT_HPP
# include <iostream>
# include <string>
# include <iomanip>
enum e_datas
{
FIRST,
LAST,
NICK,
NUMBER,
SECRET,
};
class Contact
{
public:
Contact();
void set(int id);
void summary();
void get();
private:
int id;
std::string datas[5];
};
#endif