PhoneBook.h
1 /* ************************************************************************** */ 2 /* */ 3 /* ::: :::::::: */ 4 /* PhoneBook.h :+: :+: :+: */ 5 /* +:+ +:+ +:+ */ 6 /* By: gychoi <gychoi@student.42seoul.kr> +#+ +:+ +#+ */ 7 /* +#+#+#+#+#+ +#+ */ 8 /* Created: 2023/07/19 18:08:55 by gychoi #+# #+# */ 9 /* Updated: 2023/07/21 18:56:16 by gychoi ### ########.fr */ 10 /* */ 11 /* ************************************************************************** */ 12 13 #ifndef PHONEBOOK_H 14 # define PHONEBOOK_H 15 16 # include "Contact.h" 17 18 class PhoneBook 19 { 20 public: 21 PhoneBook(); 22 void PrintExit(void); 23 void PrintUsage(void); 24 void PrintInvalid(void); 25 void UsePhoneBook(void); 26 void UpdatePhoneBook(void); 27 void SearchPhoneBook(void); 28 29 private: 30 static int _index; 31 Contact _contacts[8]; 32 }; 33 34 #endif