53 void displaySavedContacts()
const;
55 bool getValidIndex(
int &index)
const;
56 void displayContactInfo(
const Contact &contact)
const;
Defines the PhoneBook class.
PhoneBook()
Default constructor for the PhoneBook class.
std::string getInputLine() const
Reads a line of text from standard input.
void searchContact() const
Searches for and displays contact information by index
void addContact()
Adds a new contact to the phone book.