Skip to content

This repository contains a wide variety of beginner-friendly C++ projects designed to help you master core programming concepts. It covers everything from simple math operations and control flow to Object-Oriented Programming (OOP) and basic data structures like arrays, vectors, stacks, queues, and sets.

Notifications You must be signed in to change notification settings

MuthoniGathiithi/C-_Plus_Plus_Projects-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚀 C++ Beginner Projects

This repository contains a wide variety of beginner-friendly C++ projects designed to help you master core programming concepts. It covers everything from simple math operations and control flow to Object-Oriented Programming (OOP) and basic data structures like arrays, vectors, stacks, queues, and sets.


👩‍💻 Author

Joyce
GitHub: @Candy06544


🧠 Key Concepts Covered

  • ✅ Input/Output operations
  • ✅ Conditional statements (if/else)
  • ✅ Loops (for, while)
  • ✅ Functions and modularity
  • ✅ Arrays and vectors
  • ✅ OOP concepts: classes, constructors, methods
  • ✅ Stack & Queue operations
  • ✅ Basic algorithms: searching, summing, calculating
  • ✅ Real-life logic implementations

📁 Project Structure

Below is a sample breakdown of your folders and key files:

🔹 Core Programs

File Description
sum.cpp Adds two numbers
ifelse.cpp Demonstrates conditional logic
forloop.cpp Looping examples
sumoffirstnaturalforloop.cpp Loops with summation

🔹 OOP Projects

File Description
classBook.cpp Class creation and object handling
createclassmultipleobjects.cpp Multiple objects from a class
contrucorclass.cpp Constructor usage in classes

🔹 Data Structures

File Description
vector1.cpp Basic vector operations
sizestack.cpp Stack size and logic
queuepush.cpp Queue insertion
popstack.cpp Stack pop example
setcreation.cpp Demonstrates set creation and logic

🔹 Real-life Simulations

File Description
calculatebonus.cpp Bonus calculation logic
eligibilitytovote.cpp Voting eligibility check
overtimepay.cpp Overtime pay calculator
temperaturefreezehot.cpp Weather classification logic

Note: .exe files are compiled outputs of their corresponding .cpp files.


🛠️ How to Run

  1. Clone this repo:

    git clone https://github.com/Candy06544/Cpp_Beginner_Projects.git
    cd Cpp_Beginner_Projects
  2. Compile a file:

    g++ filename.cpp -o filename.exe
  3. Run the program:

    ./filename.exe

Ensure you have g++ (MinGW or similar) installed and added to PATH.


✅ First Commit

All files were committed under Initial commit.


📌 Notes

  • This project is ideal for C++ learners practicing logic and syntax.
  • Includes a mix of classroom examples and real-world logic.
  • Good foundation for transitioning into advanced C++ and DSA.

🌟 Like This?

Leave a ⭐ on the repo if you find it helpful or want to come back later!

About

This repository contains a wide variety of beginner-friendly C++ projects designed to help you master core programming concepts. It covers everything from simple math operations and control flow to Object-Oriented Programming (OOP) and basic data structures like arrays, vectors, stacks, queues, and sets.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages