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.
Joyce
GitHub: @Candy06544
- ✅ 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
Below is a sample breakdown of your folders and key files:
File | Description |
---|---|
sum.cpp |
Adds two numbers |
ifelse.cpp |
Demonstrates conditional logic |
forloop.cpp |
Looping examples |
sumoffirstnaturalforloop.cpp |
Loops with summation |
File | Description |
---|---|
classBook.cpp |
Class creation and object handling |
createclassmultipleobjects.cpp |
Multiple objects from a class |
contrucorclass.cpp |
Constructor usage in classes |
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 |
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.
-
Clone this repo:
git clone https://github.com/Candy06544/Cpp_Beginner_Projects.git cd Cpp_Beginner_Projects
-
Compile a file:
g++ filename.cpp -o filename.exe
-
Run the program:
./filename.exe
Ensure you have g++ (MinGW or similar) installed and added to PATH.
All files were committed under Initial commit
.
- 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.
Leave a ⭐ on the repo if you find it helpful or want to come back later!