mirror of
https://github.com/Ladebeze66/cpp-partie-1.git
synced 2025-12-16 05:58:04 +01:00
38 lines
1.3 KiB
C++
38 lines
1.3 KiB
C++
/* ************************************************************************** */
|
|
/* */
|
|
/* ::: :::::::: */
|
|
/* Contact.hpp :+: :+: :+: */
|
|
/* +:+ +:+ +:+ */
|
|
/* By: fgras-ca <fgras-ca@student.42.fr> +#+ +:+ +#+ */
|
|
/* +#+#+#+#+#+ +#+ */
|
|
/* Created: 2023/12/23 16:56:55 by fgras-ca #+# #+# */
|
|
/* Updated: 2023/12/23 19:49:10 by fgras-ca ### ########.fr */
|
|
/* */
|
|
/* ************************************************************************** */
|
|
|
|
#ifndef CONTACT_HPP
|
|
# define CONTACT_HPP
|
|
|
|
#include <iostream>
|
|
#include <iomanip>
|
|
#include <string>
|
|
#include <limits>
|
|
|
|
class Contact
|
|
{
|
|
public:
|
|
Contact();
|
|
~Contact();
|
|
void SetDetails();
|
|
void DisplaySummary(int index) const;
|
|
void DisplayDetails() const;
|
|
|
|
private:
|
|
std::string _first_name;
|
|
std::string _last_name;
|
|
std::string _nickname;
|
|
std::string _phone_number;
|
|
std::string _darkest_secret;
|
|
};
|
|
|
|
#endif |