Skip to content

mkdevs26/CodeAlpha_Banking-System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Banking System in C++

This is a simple console-based Banking System developed in C++.
It is designed for beginners to understand core Object-Oriented Programming (OOP) concepts and file handling in a practical way.


Features

  • Create new customer accounts
  • Deposit money into accounts
  • Withdraw money from accounts
  • Transfer money between accounts
  • View account details
  • View transaction history
  • Data is saved automatically using file handling

Technologies Used

  • C++
  • Object-Oriented Programming (OOP)
  • File Handling using fstream
  • Arrays (fixed size, no STL used)

Project Structure

  • main.cpp → Contains full source code of the banking system
  • bank.txt → Automatically created file used to store all customer data

How to Run

Step 1: Compile the program

g++ main.cpp -o banking

Step 2: Run the program

On Windows: banking.exe

On Linux / Mac: ./banking


How It Works

  • When the program starts, it loads data from bank.txt if available
  • All customer actions like deposit, withdraw, and transfer are updated in real time
  • Data is saved automatically after every operation
  • Transactions are stored inside each account

System Limitations

  • Maximum 100 customers allowed
  • Maximum 100 transactions per account
  • Uses fixed-size arrays (no dynamic memory or STL)

Purpose of Project

This project was built for learning purposes to practice:

  • Basic OOP concepts in C++
  • File handling in C++
  • Structuring a small real-world system
  • Input validation and error handling

Menu Preview

===== BANKING SYSTEM =====

  1. Create Account
  2. Deposit
  3. Withdraw
  4. Transfer
  5. Account Info
  6. Transactions
  7. Exit

About

A console-based Banking System in C++ using OOP and file handling to manage accounts, transactions, deposits, withdrawals, and transfers.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages