This repository contains beginner-friendly C++ console projects for practicing core programming concepts through small and practical exercises.
Focus areas:
- Input and output
- Conditional logic (
if/else,switch) - Loops
- Basic calculations and validation
- Each
.cppfile is an independent mini project. - Every project has a matching explanation file in
project-readmes/. - Each project README follows the same format:
- Overview
- How It Works
- Requirements
- Compile & Run
- Bill Splitter
- Cutoff Checker
- Day Name And Type
- Electricity Bill Calculator
- Grade Evaluator
- Mini ATM
- Movie Ticket Counter
- Petrol Pump Dispensor
- Pin Validator
- Ride Fare Program
- Simple Calculator
- Smart Card Fare System
- Table Maker
- Temperature Converter
- Voting Eligibility Checker
- Water State Checker
repo-root/
├── README.md
├── LICENSE
├── <Program_Name>.cpp
└── project-readmes/
├── <Program_Name>.md
└── ...
Consistency rules:
- Keep source file names in
Pascal_Case_With_Underscores. - Keep project README file names matching source names.
- Add each new project link in the root README project list.
- Keep the same 4-section template in every project README.
- Add a new source file (
.cppin this repo). - Add its documentation in
project-readmes/<Program_Name>.md. - Follow the standard 4-section README format.
- Add the project link to the root README list.
- A C++ compiler (for example,
g++) - Terminal / command prompt
- Clone the repository:
git clone https://github.com/yash-kumar-18/cpp-beginner-projects.git cd cpp-beginner-projects - Compile a project (example:
Simple_Calculator.cpp):g++ Simple_Calculator.cpp -o Simple_Calculator
- Run it:
./Simple_Calculator
Repeat the same compile-and-run process for any other
.cppfile.
This project is licensed under the MIT License.
See LICENSE for full details.
Build strong C++ basics with project-based learning.