This repository contains a series of Turbo C++ console-based mini-projects.
- 👋 Hello World with Name
- 🔺 Asterisk Pyramid Generator
- 🧮 Basic Calculator
- 📅 Year Calendar Generator
- 🎮 Typing Speed Game
- 🏧 Enhanced USB ATM System
📌 Description:
Prompts the user to enter their name and prints a personalized "Hello" message.
💡 Features:
- User input
- Formatted console output
📁 File:
Project\MYFIRST.CPP
📌 Description:
Creates a symmetrical pyramid of asterisks (*) based on the number of rows entered by the user.
💡 Features:
- Pattern printing using loops
- Centered pyramid structure
📁 File:
Project\PYRAMID.CPP
📌 Description:
Performs arithmetic operations (+, −, ×, ÷) on two numbers input by the user.
💡 Features:
- Four operations
- Input validation
- Division-by-zero protection
📁 File:
Project\CALC.CPP
📌 Description:
Generates a full 12-month calendar for a given year, accounting for leap years and aligning weekdays correctly.
💡 Features:
- Leap year detection
- Day-of-week computation
- Monthly formatting
📁 File:
Project\CALENDAR.CPP
📌 Description:
A typing game where letters fall from the top. Type them before they hit the bottom. Score increases with speed!
💡 Features:
- Real-time keyboard input
- Progressive difficulty
- Score tracking and retry option
📁 File:
Project\GAME.CPP
📌 Description:
A complete ATM simulation using a USB text file for account storage. Supports multiple users with secure PIN authentication and logs all transactions.
💡 Features:
- Multiple accounts in
account.dat - Masked PIN input (🔒) with max 3 attempts
- Deposit, withdraw, balance inquiry
- PIN change functionality
- Transaction logging in
receipt.txt - USB path configuration
📁 File:
Project\ATM.CPP
📁 File Data:Data\account.dat
- Turbo C++ via DOSBox, or modern C++ compiler (Dev C++, Code::Blocks, g++)
- USB flash drive (for
ATM.CPP)
- Clone the repo:
git clone https://github.com/MasterConnoisseurs/mc-2015-turboc.git