How negar-shamaie/persian-simple-finance-manager works
A small command-line expense tracker reads commands from standard input, updates in-memory category and subcategory totals, supports removing the latest matching expense, and prints sorted reports. The single source file contains the entire runtime; no README or other product capabilities are documented.
Main entry points: A1.810003006.cpp Command loop
Components 6
Expense tracker
- Command loop
A1.810003006.cpp - Expense state
A1.810003006.cpp - Category setup
A1.810003006.cpp - Expense updates
A1.810003006.cpp - Report output
A1.810003006.cpp
Other components
- User
Connections 8
- User → Command loop: enters commands
A1.810003006.cpp - Command loop → Category setup: dispatches setup
A1.810003006.cpp - Command loop → Expense updates: dispatches updates
A1.810003006.cpp - Command loop → Report output: dispatches reports
A1.810003006.cpp - Category setup → Expense state: initializes totals
A1.810003006.cpp - Expense updates → Expense state: updates totals
A1.810003006.cpp - Report output → Expense state: reads totals
A1.810003006.cpp - Report output → User: prints report
A1.810003006.cpp