Code Monkey home page Code Monkey logo

phonebook's Introduction

Phonebook Application

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.

Features

  • 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.

Prerequisites

  • GCC or any other C compiler for building the project.

Installation

  1. Clone the repository to your local machine:

    git clone https://github.com/mrmas-io/phonebook.git
    cd phonebook
  2. Build using GCC:

    gcc -o main main.c -Wall -Werror -Wextra -pedantic

Usage

  1. Run the application:

    1. On Windows:
      .\main.exe
    2. On Unix:
      ./main
  2. You will be prompted to log in with a predefined username and password. The default is "admin" for both.

  3. Use the menu to navigate through the application's features.

Function Descriptions

  • 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(): Exits the program.

License

This project is licensed under the MIT License - see the LICENSE file for details.

phonebook's People

Contributors

msio808 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.