The Phonebook Application is a terminal-based contact management system that allows users to store, edit, list, search, and delete contact information in a file.
-
Add New Contact: Add a new contact with details such as name, email, phone, and address.
-
Edit Contact: Modify existing contact details.
-
List Contacts: View a list of all stored contacts.
-
Search Contacts: Find specific contacts by name.
-
Delete Contact: Remove unwanted contacts.
- GCC or any other C compiler for building the project.
-
Clone the repository to your local machine:
git clone https://github.com/msio808/phonebook.git
cd phonebook/config
-
Build & run using
GCC
:./build.sh --run
-
Debug using
GDB
:./build.sh --debug
-
You will be prompted to log in with a predefined username and password. The default is "admin" for both.
-
Use the menu to navigate through the application's features.
-
add_contact()
: Adds a new contact to the phonebook. -
edit_contact()
: Edits an existing contact's details. -
list_contact()
: Lists all contacts in the phonebook. -
search_contact()
: Searches for a contact by name. -
delete_contact()
: Deletes a contact from the phonebook. -
exit_program(int)
: Exits the program.
This project is licensed under the MIT License - see the LICENSE file for details.