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.
36 lines
1.1 KiB
36 lines
1.1 KiB
/* ************************************************************************** */
|
|
/* */
|
|
/* ::: :::::::: */
|
|
/* 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 */
|
|
/* */
|
|
/* ************************************************************************** */
|
|
#pragma once
|
|
#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];
|
|
};
|
|
|