How kondurumanogna/project1 works
This is a console address book. A user selects menu operations in main.c; contacts are created, searched, edited, deleted, or listed in the in-memory address book, and can be saved as CSV. Contact validation, matching, and sorting are internal domain behavior. The persistence code also has a CSV loader, but the shown initialization leaves loading disabled, so no startup-load path is drawn. Source excerpts support the main operation and persistence links; unsampled implementation details are not inferred.
Main entry points: contact.c Contact operations · main.c Menu loop · file.c CSV file operations · contact.h Address book state
Components 10
Console interface
- Menu loop
main.c
Contact domain
- Address book state
contact.h - Contact operations
contact.c - Field input checks
contact.c - Contact matching
contact.c - Contact sorting
contact.c
CSV persistence
- CSV file operations
file.c - Saved contacts CSV
contacts.csv - Load contacts CSV
contact.csv
Other components
- Address book user
Connections 10
- Address book user → Menu loop: chooses operation
main.c - Menu loop → Address book state: initializes
main.c - Menu loop → Contact operations: dispatches CRUD/list
main.c - Contact operations → Address book state: updates or reads
contact.c - Contact operations → Field input checks: reads fields
contact.c - Contact operations → Contact matching: matches contacts
contact.c - Contact operations → Contact sorting: sorts contacts
contact.c - Menu loop → CSV file operations: saves contacts
main.c - CSV file operations → Saved contacts CSV: writes
file.c - CSV file operations → Load contacts CSV: reads
file.c