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.
- β 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
| 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 |
# Compile
gcc main.c contact.c dummy_contact.c -o addressbook
# Run
./addressbook