How moazabdulsalam/bankatmrepo-myfirstcppprog works
This repository contains two console banking applications: a bank administration system and a separate customer ATM. The operator workflow signs in, then manages clients and users or runs banking transactions; the ATM workflow authenticates a customer and offers withdrawals, deposits, and balance checks. Both persist client records in text files, while the ATM source uses a hard-coded path to the bank project’s client file. The source excerpts are partial, so uncertain internal wiring is omitted.
Main entry points: ClientFile.txt Client Records · ATM Project.cpp ATM Menu · Bank project.cpp Main Menu · UserFile.txt User Records
Components 16
Bank Access
- Bank Sign-in
Bank project/Bank project/Bank project.cpp - Admin Login
Bank project/Bank project/Bank project.cpp - Main Menu
Bank project/Bank project/Bank project.cpp
Bank Operations
- Client Management
Bank project/Bank project/Bank project.cpp - User Management
Bank project/Bank project/Bank project.cpp - Transactions
Bank project/Bank project/Bank project.cpp
ATM Services
- ATM Login
ATM Project/ATM Project/ATM Project.cpp - ATM Menu
ATM Project/ATM Project/ATM Project.cpp - Quick Withdrawal
ATM Project/ATM Project/ATM Project.cpp - Normal Withdrawal
ATM Project/ATM Project/ATM Project.cpp - ATM Deposit
ATM Project/ATM Project/ATM Project.cpp - Balance Check
ATM Project/ATM Project/ATM Project.cpp
File Storage
- Client Records
Bank project/Bank project/ClientFile.txt - User Records
Bank project/Bank project/UserFile.txt
Other components
- Bank Operator
- Account Holder
Connections 21
- Bank Operator → Bank Sign-in: signs in
- Bank Sign-in → Admin Login: starts
- Admin Login → User Records: reads
- Admin Login → Main Menu: opens
- Main Menu → Client Management: dispatches
- Main Menu → User Management: dispatches
- Main Menu → Transactions: dispatches
- Client Management → Client Records: reads/writes
- User Management → User Records: reads/writes
- Transactions → Client Records: reads/writes
- Account Holder → ATM Login: authenticates
- ATM Login → Client Records: reads
- ATM Login → ATM Menu: opens
- ATM Menu → Quick Withdrawal: dispatches
- ATM Menu → Normal Withdrawal: dispatches
- ATM Menu → ATM Deposit: dispatches
- ATM Menu → Balance Check: dispatches
- Quick Withdrawal → Client Records: reads/writes
- Normal Withdrawal → Client Records: reads/writes
- ATM Deposit → Client Records: reads/writes
- Balance Check → Client Records: reads