Skip to content

B0DA11/ATM-CPP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ATM-CPP

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.

Features

  • 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

Requirements

  • C++ Compiler - G++, Clang, or any C++11 compatible compiler
  • Operating System - Windows, Linux, or macOS

Getting Started

Installation

  1. Clone the repository:

    git clone https://github.com/B0DA11/ATM-CPP.git
    cd ATM-CPP
  2. Compile the program:

    g++ app.cpp -o app.exe
  3. Run the application:

    app.exe

    Or on Linux/macOS:

    ./app

Usage

  1. Start the Application - Run the compiled executable
  2. Enter Password - Input the default password: 1234
  3. Choose an Option from the menu:
    • 1 - View your current balance
    • 2 - Withdraw money from your account
    • 3 - Deposit money to your account
    • 4 - Exit the application

Example Session

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💸

Project Structure

ATM-CPP/
├── app.cpp       # Main ATM application source code
├── README.md     # This file
└── build/        # Compiled output directory
    └── Debug/    # Debug build files

Default Credentials

  • Password: 1234
  • Initial Balance: 4000

Technical Details

  • Language: C++
  • Size: ~50 lines of clean, simple code
  • Compilation: Single-file project, no external dependencies
  • Input/Output: Console-based using iostream

Limitations & Notes

  • 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

License

This project is open-source. Feel free to use, modify, and distribute as needed.

Author

Created by abdallah-ne

About

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.

Topics

Resources

Stars

Watchers

Forks

Contributors

Languages