How sarayuyalagandula/addressbook works
AddressBook is a menu-driven C contact manager. The user selects an operation in the main loop; the program loads the address book at startup, performs contact operations in memory, and can save changes to CSV. The documented workflow also includes searching, editing, deleting, and listing by name, phone, or email, with input validation. Feature implementations are grouped in contact.c; the excerpts show selected calls and persistence behavior, but not every operation’s internals.
Main entry points: main.c Menu and Dispatch · contact.c Load and Save · database.csv Contact Database · contact.h Contact Data Model
Components 12
Application
- Menu and Dispatch
main.c - Contact Data Model
contact.h
Contact Operations
- Create Contact
contact.c - Search Contact
contact.c - Edit Contact
contact.c - Delete Contact
contact.c - Sorted Contact Listing
contact.c - Input Validation
contact.c - Contact Lookup Helpers
contact.c
Persistence
- Load and Save
contact.c - Contact Database
database.csv
Other components
- User
Connections 14
- User → Menu and Dispatch: selects operation
README.md - Menu and Dispatch → Contact Data Model: uses data
main.c - Menu and Dispatch → Load and Save: loads at startup
main.c - Menu and Dispatch → Create Contact: dispatches
main.c - Menu and Dispatch → Search Contact: dispatches
main.c - Menu and Dispatch → Edit Contact: dispatches
main.c - Menu and Dispatch → Delete Contact: dispatches
main.c - Menu and Dispatch → Sorted Contact Listing: dispatches
main.c - Menu and Dispatch → Load and Save: saves on request
main.c - Edit Contact → Input Validation: validates input
contact.c - Search Contact → Contact Lookup Helpers: uses lookup
contact.c - Edit Contact → Contact Lookup Helpers: uses lookup
contact.c - Load and Save → Contact Database: writes CSV
contact.c - Load and Save → Contact Database: loads CSV