Skip to content

Latest commit

Β 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“’ Address Book CLI

This is a simple Address Book application built using C++. It allows you to add, display, delete, search, edit, and clear contacts. All operations are performed through a terminal interface.

πŸ“‹ Features

  • Add Contact: Store personal information such as name, gender, age, phone number, and address.
  • View Contacts: Display all contacts stored in the address book.
  • Delete Contact: Remove an individual contact from the address book.
  • Search Contact: Look up contact details by name.
  • Edit Contact: Modify existing contact details.
  • Clear Contacts: Erase all contacts in one go.
  • Exit: Safely exit the application when you're done.

πŸš€ How to Run

  1. Clone this repository:
    git clone https://github.com/yourusername/address-book-cli.git
  2. Navigate to the project directory:
    cd address-book-cli
  3. Compile the program (Ensure you have a C++ compiler like g++):
    g++ address_book.cpp -o address_book
  4. Run the executable:
    ./address_book

πŸ“– Usage

After launching the program, you’ll see a menu with options:

********************************
*****    Address Book     *****
********************************
*****    1. Add Contact   *****
*****    2. Show Contacts *****
*****    3. Delete Contact *****
*****    4. Search Contact *****
*****    5. Edit Contact   *****
*****    6. Clear Contacts *****
*****    0. Exit           *****
********************************
  • 1. Add Contact: Enter the contact details when prompted. 😊
  • 2. Show Contacts: View all contacts in the system. πŸ“œ
  • 3. Delete Contact: Remove a contact by entering their name. ❌
  • 4. Search Contact: Enter a name to find the corresponding contact. πŸ”
  • 5. Edit Contact: Modify an existing contact's details. ✏️
  • 6. Clear Contacts: Wipe out the entire address book in one go. πŸ’₯
  • 0. Exit: Quit the program and wave goodbye! πŸ‘‹

πŸ› οΈ Technologies Used

  • C++: Core programming language used to implement the application.
  • g++: GNU C++ compiler for building the executable.
  • CLI: Command Line Interface for user interaction.

🧩 Future Enhancements

  • File Storage: Persist contacts between sessions by saving them to a file.
  • Validation: Add stricter validation for user inputs.
  • Sorting: Sort contacts alphabetically or by other criteria

If you find this project helpful, consider giving it a star! ⭐

About

Address Book is a simple yet functional C++ application that allows users to store, manage, and organize contacts efficiently. It operates entirely through a terminal interface, providing a lightweight and easy-to-use experience.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Contributors

Languages