Skip to content

This is a C program that simulates a phone directory. Each entry of the directory will include the name – last and first, birth date, the address, email, and the phone number.

License

Notifications You must be signed in to change notification settings

MohEsmail143/phonebook

Repository files navigation

Phonebook

A simple C-based command-line interface (CLI) program written in C that allows you to manage a phonebook directory. Each entry in the directory includes the person's name (last and first), birth date, address, email, and phone number. The program was developed using the Code::Blocks IDE.

Table of Contents

Introduction

The Phonebook CLI Program is designed to help you organize and manage a directory of contacts. You can add new contacts, view existing contacts, search for specific contacts, update contact information, and delete contacts from the phonebook.

This project was developed as part of the course Programming I in the Fall 2019 semester at the Faculty of Engineering, Alexandria University, under the Computer and Communications Engineering department, supervised by Dr. Saleh El-Shehaby.

Features

  • Add new contacts: Enter the name, birth date, address, email, and phone number for a new contact and add it to the phonebook directory.
  • View contacts: Display all the contacts in the phonebook directory.
  • Search contacts: Search for a specific contact by name or phone number.
  • Update contacts: Modify the information of a contact in the phonebook.
  • Delete contacts: Remove a contact from the phonebook directory.

Installation

To run the Phonebook CLI Program, follow these steps:

  1. Ensure you have a C compiler installed on your system (e.g., GCC).
  2. Clone the repository or download the source code files to your local machine.
  3. Open the Code::Blocks IDE.
  4. Open the project file (Phonebook.cbp) in Code::Blocks.
  5. Build and compile the project using the IDE.
  6. Once compiled successfully, you can run the program from within Code::Blocks or via the command line.

Usage

  1. Launch the Phonebook CLI Program.
  2. Follow the on-screen prompts to navigate through the menu options.
  3. Use the appropriate menu options to add, view, search, update, or delete contacts from the phonebook directory.
  4. Follow the instructions provided by the program to perform the desired operations.
  5. Enjoy managing your phonebook efficiently!

Contributing

Contributions to the Phonebook CLI Program are welcome. If you have any ideas, suggestions, or bug reports, please follow these steps:

  1. Fork the repository.
  2. Create a new branch for your contribution.
  3. Make your changes and enhancements.
  4. Test thoroughly.
  5. Submit a pull request explaining your changes and the benefits they bring.

License

The Phonebook CLI Program is open source and distributed under the MIT License ↗. For more information, see the LICENSE file.

Acknowledgements

We would like to acknowledge the following resources that have been helpful during the development of this program:

Support

For any questions, issues, or support regarding the Phonebook CLI Program, please contact me.

About

This is a C program that simulates a phone directory. Each entry of the directory will include the name – last and first, birth date, the address, email, and the phone number.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Languages