How ayhmibrahim/bank-management-system works
This educational C++ console bank system evolves from client CRUD into a final version with transactions, login, user administration, and permission checks. The main workflow is console input → login → main menu → permission-checked action, with client balances and user records persisted in text files. The sampled code is a partial excerpt of the final, single-file implementation; menu-to-action and authentication relationships also follow the README’s documented flow, so uncertain internal call wiring is omitted.
Main entry points: Bank Management System.cpp Main menu · Users.txt User records · Clients.txt Client records
Components 11
Console interaction
- Console entry
Project 3.2 [ Bank 1 ] ( 2nd Extension )/Bank Management System.cpp - Main menu
Project 3.2 [ Bank 1 ] ( 2nd Extension )/Bank Management System.cpp
Access and users
- Login flow
Project 3.2 [ Bank 1 ] ( 2nd Extension )/Bank Management System.cpp - Permission checks
Project 3.2 [ Bank 1 ] ( 2nd Extension )/Bank Management System.cpp - User management
Project 3.2 [ Bank 1 ] ( 2nd Extension )/Bank Management System.cpp
Bank operations
- Client management
Project 3.2 [ Bank 1 ] ( 2nd Extension )/Bank Management System.cpp - Transactions
Project 3.2 [ Bank 1 ] ( 2nd Extension )/Bank Management System.cpp
File persistence
- Record and file I/O
Project 3.2 [ Bank 1 ] ( 2nd Extension )/Bank Management System.cpp - Client records
Project 3.2 [ Bank 1 ] ( 2nd Extension )/Clients.txt - User records
Project 3.2 [ Bank 1 ] ( 2nd Extension )/Users.txt
Other components
- Bank operator
Connections 13
- Bank operator → Console entry: uses console
- Console entry → Login flow: starts login
- Login flow → User records: checks credentials
- Login flow → Main menu: opens menu
- Main menu → Permission checks: checks access
- Main menu → Client management: dispatches client actions
- Main menu → Transactions: dispatches transactions
- Main menu → User management: dispatches user actions
- Client management → Record and file I/O: loads and saves
- Transactions → Record and file I/O: loads and saves
- User management → Record and file I/O: loads and saves
- Record and file I/O → Client records: reads and writes
- Record and file I/O → User records: reads and writes