A simple Automated Teller Machine (ATM) application built in C++. This project demonstrates basic banking operations including balance inquiry, withdrawals, and deposits with password authentication.
- Password Authentication - Secure access with a PIN
- Balance Inquiry - Check current account balance
- Withdraw Money - Withdraw funds from your account
- Deposit Money - Add funds to your account
- Simple User Interface - Easy-to-use menu-driven interface
- C++ Compiler - G++, Clang, or any C++11 compatible compiler
- Operating System - Windows, Linux, or macOS
-
Clone the repository:
git clone https://github.com/B0DA11/ATM-CPP.git cd ATM-CPP -
Compile the program:
g++ app.cpp -o app.exe
-
Run the application:
app.exe
Or on Linux/macOS:
./app
- Start the Application - Run the compiled executable
- Enter Password - Input the default password:
1234 - Choose an Option from the menu:
1- View your current balance2- Withdraw money from your account3- Deposit money to your account4- Exit the application
Enter the password: 1234
Hello 😊
****[Menu]*****
* 1:Balance *
* 2:WithDraw *
* 3:Deposit *
* 4:Exit *
***************
Please enter Your choice: 1
Your balance is: 4000💸
Please enter Your choice: 2
****NOTE🚨****
Your balance is= 4000💸
Enter amount to withdraw: 500
Your balance now is = 3500💸
ATM-CPP/
├── app.cpp # Main ATM application source code
├── README.md # This file
└── build/ # Compiled output directory
└── Debug/ # Debug build files
- Password:
1234 - Initial Balance:
4000
- Language: C++
- Size: ~50 lines of clean, simple code
- Compilation: Single-file project, no external dependencies
- Input/Output: Console-based using iostream
- This is a demonstration/educational project
- Passwords and balances are hardcoded (not persistent)
- No data is saved between sessions
- Password is visible in source code (not production-ready)
- No encryption or security measures beyond simple PIN validation
This project is open-source. Feel free to use, modify, and distribute as needed.
Created by abdallah-ne