Contact.h
1 /* ************************************************************************** */ 2 /* */ 3 /* ::: :::::::: */ 4 /* Contact.h :+: :+: :+: */ 5 /* +:+ +:+ +:+ */ 6 /* By: gychoi <gychoi@student.42seoul.kr> +#+ +:+ +#+ */ 7 /* +#+#+#+#+#+ +#+ */ 8 /* Created: 2023/07/19 18:09:11 by gychoi #+# #+# */ 9 /* Updated: 2023/07/21 18:56:24 by gychoi ### ########.fr */ 10 /* */ 11 /* ************************************************************************** */ 12 13 #ifndef CONTACT_H 14 # define CONTACT_H 15 16 # include <cstdlib> 17 # include <iostream> 18 # include <iomanip> 19 # include <string> 20 21 class Contact 22 { 23 public: 24 Contact(void); 25 Contact(int index); 26 void DisplayBriefContact(void); 27 void DisplayContact(void); 28 void MakeContact(void); 29 30 private: 31 int _index; 32 std::string _firstName; 33 std::string _lastName; 34 std::string _nickname; 35 std::string _phoneNumber; 36 std::string _darkestSecret; 37 }; 38 39 #endif