Beginner C++ Projects (1–15)
1. Factorial Calculator
Description: Takes a number n as input and recursively calculates n!.
Concepts Used: Functions, recursion, loops (for input).
Concepts Learned: Recursive logic, base cases, input validation.
External Libraries: None
2. Fibonacci Sequence Generator
Description: Generates the first n numbers in the Fibonacci series (both recursive and
iterative).
Concepts Used: Functions, loops, arrays/vectors.
Concepts Learned: Recursion vs iteration, algorithm efficiency.
External Libraries: None
3. Tower of Hanoi Solver
Description: Solves and prints steps to move n disks using recursion.
Concepts Used: Recursion, functions, console output.
Concepts Learned: Divide and conquer, base/recursive case thinking.
External Libraries: None
4. Prime Number Checker/Generator
Description: Checks if a number is prime or prints all primes up to N.
Concepts Used: Loops, conditions, math (modulo).
Concepts Learned: Optimized number checking, logic flow.
External Libraries: None
5. Number Guessing Game
Description: User guesses a random number between 1 and 100 until correct.
Concepts Used: rand() or <random>, loops, conditionals.
Concepts Learned: Random number generation, control flow.
External Libraries: <cstdlib> or <random>
6. Palindrome Checker
Description: Checks if a string (or number) is a palindrome.
Concepts Used: Strings, indexing, loops.
Concepts Learned: String manipulation, reversal logic.
External Libraries: None
7. Star Pattern Printer
Description: Prints patterns (pyramid, triangle, diamond) based on user input.
Concepts Used: Nested loops, formatting.
Concepts Learned: ASCII art logic, loops inside loops.
External Libraries: None
8. Basic Calculator (Menu-driven)
Description: Performs +, −, ×, ÷ based on user input until exited.
Concepts Used: Switch/case, functions, loops.
Concepts Learned: Menu-driven programming, I/O structure.
External Libraries: None
9. To-Do List Manager (File I/O)
Description: Adds, removes, and shows tasks stored in a text file.
Concepts Used: File handling (fstream), strings, vectors.
Concepts Learned: Persistent storage, working with files.
External Libraries: None
10. Bank Account Class (OOP)
Description: Models a basic bank account with deposit/withdraw functions.
Concepts Used: Classes, constructors, encapsulation.
Concepts Learned: Basic object-oriented programming (OOP).
External Libraries: None
11. Dynamic Array Demo (Pointers)
Description: Creates an array using new, performs calculations, then frees memory.
Concepts Used: Pointers, new/delete, loops.
Concepts Learned: Manual memory management.
External Libraries: None
12. Stack & Queue Using Arrays
Description: Implements basic Stack (LIFO) and Queue (FIFO) logic.
Concepts Used: Arrays, loops, functions.
Concepts Learned: Data structure basics, overflow/underflow handling.
External Libraries: None
13. Hangman Game
Description: Classic ASCII-based game where player guesses letters of a word.
Concepts Used: Strings, arrays, game loop.
Concepts Learned: Game mechanics, tracking state.
External Libraries: None
14. Binary/Decimal Converter
Description: Converts binary to decimal and vice versa.
Concepts Used: Arithmetic, loops, conditionals.
Concepts Learned: Number systems, division/remainder method.
External Libraries: None
15. CGPA Calculator
Description: Takes subjects, credits, and grade points to compute CGPA.
Concepts Used: Arrays/vectors, arithmetic, loops.
Concepts Learned: Weighted average calculations, structured input.
External Libraries: None