Skip to content

Latest commit

Β 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“– Address Book in C

A console-based Address Book application written in C, designed to help users manage contact information efficiently.

The project demonstrates file handling, modular programming, and input validation.


🧩 Features

  • βž• Create, ✏️ Edit, ❌ Delete, πŸ” Search, and πŸ“‹ List contacts
  • πŸ’Ύ Save and load contacts from a CSV file (contacts.csv)
  • πŸ” Prevents duplicate entries automatically
  • βœ… Validates phone numbers and email addresses before saving
  • πŸ‘₯ Loads 10 predefined dummy contacts at startup

πŸ“ Project Structure

File Description
main.c Provides the user menu and program loop
contact.c Core logic for creating, editing, deleting, searching, listing, saving, and loading contacts
contact.h Header file containing structures and function declarations
dummy_contact.c Contains dummy contact data and email validation function

βš™οΈ How to Compile and Run

# Compile
gcc main.c contact.c dummy_contact.c -o addressbook

# Run
./addressbook

About

A console-based Address Book application written in C, designed to help users manage contact information efficiently.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Packages

Contributors

Languages