How mssoaress/sistema-mercado-cpp works
This is a small interactive C market-management program. A user navigates the console menu in main.c to manage products or employees; each module keeps records in a fixed-size in-memory array and provides create, list, search, edit, and remove operations. Both modules use entrada.c for validated console input. No persistent storage or implemented supplier, inventory, or sales behavior is evident in the sampled files; those files are empty. Edges reflect calls visible in the excerpts.
Main entry points: main.c Menu and dispatch · entrada.c Input validation · produtos.c Product records · funcionarios.c Employee records
Components 5
Console application
- Menu and dispatch
main.c
Record management
- Product records
produtos.c - Employee records
funcionarios.c
Console input
- Input validation
entrada.c
Other components
- Market operator
Connections 6
- Market operator → Menu and dispatch: chooses options
main.c - Menu and dispatch → Input validation: reads choices
main.c - Menu and dispatch → Product records: dispatches product actions
main.c - Menu and dispatch → Employee records: dispatches employee actions
main.c - Product records → Input validation: reads fields
produtos.c - Employee records → Input validation: reads fields
funcionarios.c