Skip to content

About

Beginner-friendly C++ notes and practice programs covering basics, conditions, loops, and small exercises.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C++ Learning Notes

A beginner-friendly collection of small C++ examples for practicing programming basics in Dev-C++.

Topics

Folder What it teaches
basics Variables, cin, cout, and multiplication tables
conditions if/else and switch statements
loops for and while loops
practice Even/odd, factorial, student marks comparison, and employee bonus

Repository Structure

Cpp-Learning-Notes/
├── basics/
│   ├── variables.cpp
│   ├── input-output.cpp
│   └── multiplication-table.cpp
├── conditions/
│   ├── if-else.cpp
│   └── switch.cpp
├── loops/
│   ├── for-loop.cpp
│   └── while-loop.cpp
├── practice/
│   ├── even-odd.cpp
│   ├── factorial.cpp
│   ├── student-marks-comparison.cpp
│   └── employee-bonus.cpp
└── README.md

How to Use in Dev-C++

Open any .cpp file in Dev-C++, then choose Execute → Compile & Run. You can also press F11. Each file has its own main() function, so run one example at a time.

Learning Approach

Start with the files in basics, then study conditions, followed by loops. After that, try the examples in practice without looking at the solution first.

All examples are intentionally short and use:

#include<iostream>
using namespace std;

Purpose

These notes are for learning and practicing C++ fundamentals through small examples that are easy to read and run. The multiplication-table example practices a for loop by printing ten multiples of a number entered by the user.

About

Beginner-friendly C++ notes and practice programs covering basics, conditions, loops, and small exercises.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages