How mohamed-hadad/bank-system works
This repository presents the same console banking product in two designs: a single-file procedural version and a layered OOP version. The main OOP user journey is login, permission-checked menu navigation, and client, transaction, user-administration, or currency-exchange operations. Domain objects handle client, user, and currency behavior, with text files serving as persistence. The README documents further capabilities including transfer history, login records, lockout, password shifting, and number-to-text. Links for unsampled features reflect README descriptions or indexed references, not inspection of their full implementations.
Main entry points: clsBankClient.h Bank Client · clsMainScreen.h Main Menu · clsUser.h User And Access · clsTransactionsScreen.h Transactions Menu
Components 30
Application Entry
- OOP Entry Point
V2_OOP/BankSystem(OOP).cpp
Console Screens
- Login Screen
V2_OOP/clsLoginScreen.h - Main Menu
V2_OOP/clsMainScreen.h - Client Screens
V2_OOP - Transactions Menu
V2_OOP/clsTransactionsScreen.h - Deposit And Withdraw
V2_OOP/clsDepositScreen.h - Transfer Screen
V2_OOP/clsTransferScreen.h - Transfer History
V2_OOP/clsTransferLogScreen.h - Balance Summary
V2_OOP/clsTotalBalancesScreen.h - User Administration
V2_OOP/clsManageUsersScreen.h - Login Register
V2_OOP/clsLoginRegisterScreen.h - Currency Exchange
V2_OOP/clsCurrencyExchangeMainScreen.h
Banking Domain
- Bank Client
V2_OOP/clsBankClient.h - User And Access
V2_OOP/clsUser.h - Currency Rates
V2_OOP/clsCurrency.h - Person Base
V2_OOP/clsPerson.h
Persistence And Utilities
- Client Records
V2_OOP/Clients.txt - User Records
V2_OOP/Users.txt - Currency Records
V2_OOP/Currencies.txt - Transfer Records
V2_OOP/TransferLog.txt - Login Records
V2_OOP/LoginRegister.txt - Input Validation
V2_OOP/clsValidateInput.h - Screen Helpers
V2_OOP/clsScreen.h - Date Utilities
V2_OOP/clsDate.h - String Utilities
V2_OOP/clsString.h - Shared Utilities
V2_OOP/clsUtility.h
Procedural Version
- Procedural Banking
V1_Procedural/BankSystem.cpp - Procedural Client Data
V1_Procedural/ClientsData.txt - Procedural User Data
V1_Procedural/Users.txt
Other components
- Bank Operator
Connections 35
- Bank Operator → OOP Entry Point: starts
README.md - OOP Entry Point → Login Screen: shows login
V2_OOP/BankSystem(OOP).cpp - Login Screen → Main Menu: opens menu
V2_OOP/clsLoginScreen.h - Main Menu → Client Screens: dispatches client tasks
V2_OOP/clsMainScreen.h - Main Menu → Transactions Menu: opens transactions
V2_OOP/clsMainScreen.h - Main Menu → User Administration: opens administration
V2_OOP/clsMainScreen.h - Main Menu → Login Register: opens login register
V2_OOP/clsMainScreen.h - Main Menu → Currency Exchange: opens exchange
V2_OOP/clsMainScreen.h - Transactions Menu → Deposit And Withdraw: dispatches operations
V2_OOP/clsTransactionsScreen.h - Transactions Menu → Transfer Screen: dispatches transfers
V2_OOP/clsTransactionsScreen.h - Transactions Menu → Transfer History: opens history
V2_OOP/clsTransactionsScreen.h - Transactions Menu → Balance Summary: opens balances
V2_OOP/clsTransactionsScreen.h - Client Screens → Bank Client: uses client records
V2_OOP/clsAddNewClientScreen.h - Deposit And Withdraw → Bank Client: updates balance
V2_OOP/clsDepositScreen.h - Transfer Screen → Bank Client: moves funds
V2_OOP/clsTransferScreen.h - User Administration → User And Access: manages users
- Login Screen → User And Access: authenticates
V2_OOP/clsLoginScreen.h - Login Register → User And Access: reads login history
V2_OOP/clsLoginRegisterScreen.h - Currency Exchange → Currency Rates: uses rates
V2_OOP/clsCurrencyExchangeMainScreen.h - Bank Client → Person Base: inherits identity
V2_OOP/clsBankClient.h - User And Access → Person Base: inherits identity
V2_OOP/clsUser.h - Bank Client → Client Records: reads and writes
V2_OOP/clsBankClient.h - User And Access → User Records: reads and writes
V2_OOP/clsUser.h - Currency Rates → Currency Records: reads and writes
V2_OOP/clsCurrency.h - Bank Client → Transfer Records: records transfers
V2_OOP/clsBankClient.h - Bank Operator → Procedural Banking: runs alternative
README.md - Procedural Banking → Procedural Client Data: uses sample data
README.md - Procedural Banking → Procedural User Data: uses sample data
README.md - Client Screens → Input Validation: validates input
V2_OOP/clsAddNewClientScreen.h - Deposit And Withdraw → Input Validation: checks amounts
V2_OOP/clsDepositScreen.h - Screen Helpers → Date Utilities: formats screen date
V2_OOP/clsScreen.h - Bank Client → Shared Utilities: uses shared helpers
V2_OOP/clsBankClient.h - User And Access → Shared Utilities: uses shared helpers
V2_OOP/clsUser.h - Currency Rates → String Utilities: parses records
V2_OOP/clsCurrency.h - Login Register → Login Records: records sessions
README.md