A simple console-based banking system implemented in C++.
This C++ program is a basic banking system that allows users to perform various actions such as adding new accounts, removing accounts, editing accounts, changing passwords, and more.
- Add new account
- Remove account
- Edit account
- Change password
- Show all accounts
- Search based on first and last name
- List accounts with more than a given deposit
- Draw from account
- Transfer funds between accounts
- View account details
- Conduct a lottery
The program supports file management for persistent data storage. Account information is saved to and loaded from a CSV file (bank_data.csv
). This allows the system to retain data across program runs.
FileHandler.h
andFileHandler.cpp
contain functions for saving and loading data to/from the CSV file.
To use the program, follow these steps:
- Clone the repository:
git clone https://github.com/yourusername/banking-system.git
- Compile the code:
g++ Main.cpp BankSystem.cpp FileHandler.cpp -o banking_system
- Run the program:
./banking_system
Follow the on-screen instructions to interact with the banking system.