User Address Book is a command-line application that allows you to store and manage your contacts' information. You can add new contacts, display all existing contacts, edit the information of an existing contact, search for a contact, or delete a contact.
Before running the program, you must have the following software installed on your system:
C++ compiler, such as GCC or Clang Git (optional)
To install User Address Book, follow these steps:
-
Clone the GitHub repository: git clone https://github.com/your-username/user-address-book.git Alternatively, you can download the ZIP file and extract it to a directory of your choice.
-
Compile the source code: g++ user-address-book.cpp -o user-address-book You can use a different compiler or change the output filename if you prefer.
-
Run the program: ./user-address-book
When you run User Address Book, you will see a menu with several options:
- Add a new contact: Enter the details of a new contact, such as their first name, last name, address, and phone number.
- Display all contacts: View a list of all existing contacts, along with their details.
- Edit a contact: Modify the information of an existing contact by specifying their first and last name.
- Search address book: Find a contact by entering their first or last name.
- Delete a contact: Remove a contact from the address book by specifying their first and last name.
- Exit: Quit the program. You can choose an option by entering the corresponding number. The program will guide you through the process and provide feedback on your actions.