How atharvagupta0/smart-campus-parking-management-system works
This is a C17 console system for registering campus vehicles, assigning parking, tracking visits and charges, reporting occupancy, rendering a live campus map, and persisting records. The principal workflow runs from menu input through validation and parking operations to a receipt or status result. The graph separates registration, parking operations, console reporting, and persistence/map capabilities. Some menu-handler and storage details are unsampled; edges rely on the excerpts or README where noted.
Main entry points: parking.c Vehicle operations · main.c Menu application · storage.c Load and save · map.c Campus map
Components 12
Console workflow
- Menu application
Codes/main.c - Status and reports
Codes/main.c
Registration
- Registration prompts
Codes/main.c - ID validation
Codes/registration.c
Parking domain
- Vehicle operations
Codes/parking.c - Slots and sessions
Codes/parking.c - Billing and receipts
Codes/parking.c - Parking records
Header Files/parking.h
State and views
- Campus map
Codes/map.c - Load and save
Codes/storage.c - Parking data
data/parking.dat
Other components
- User
Connections 15
- User → Menu application: chooses operation
README.md - Menu application → Registration prompts: prompts registration
Codes/main.c - Registration prompts → ID validation: normalizes IDs
Codes/main.c - Registration prompts → Vehicle operations: registers vehicle
Codes/main.c - Vehicle operations → ID validation: validates registration
Codes/parking.c - Menu application → Vehicle operations: handles parking actions
Codes/main.c - Vehicle operations → Slots and sessions: assigns slots
Codes/parking.c - Vehicle operations → Billing and receipts: computes visit charge
Codes/parking.c - Menu application → Status and reports: shows results
README.md - Menu application → Campus map: opens map
README.md - Campus map → Parking records: renders occupancy
Codes/map.c - Vehicle operations → Load and save: saves changes
Codes/parking.c - Menu application → Load and save: loads at startup
Codes/main.c - Load and save → Parking data: reads and writes
README.md - Vehicle operations → Parking records: updates records
Codes/parking.c