Skip to content

giraen/contact-list-management

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Contact List Management

A simple terminal-based application for storing, editing, and managing contacts written in C.

Features

  • Add a contact with a timestamp.
  • View existing contacts in a neatly formatted table.
  • Search contacts by name or phone number (supports prefix matching).
  • Edit contact details (name or phone number) with validation.
  • Delete contacts.
  • Seamless user experience through a clear menu interface.

How it works

The application stores contacts in a binary file (contacts.dat). This allows:

  • Persistent storage across sessions.
  • Efficient reading and writing using fread() and fwrite().
  • Safe string handling and input validation.

Running the application

  1. Compile the code
gcc main.c -o contact-manager
  1. Run the program
./contact-manager.exe

About

A contact list manager that runs in the terminal written in C

Topics

Resources

Stars

Watchers

Forks

Contributors

Languages