Learn C++
A free, interactive online C++ course. You write C++ on every lesson, with AI hints when the compiler yells at you, and a free certificate when you finish.
236,214+ codders enrolled
234 lessons207 challenges1,567 quiz questions
- Beginner friendly
AI-assisted coding help
Hands-on interactive lessons
Audio narration on every lesson
Quizzes to test your knowledge
Free certificate of completion
Syllabus
Section 1
Fundamentals
Start sectionStartExpandCollapseBuild a strong foundation with essential concepts and basic skillsIntroduction
4 lessons425Variables Part 1
6 lessons846Variables Part 2
5 lessons334Operators Part 1
7 lessons654Operators Part 2
4 lessons423Decision Making
6 lessons637Input/Output Basics
5 lessons524Number Calculator
Project4 lessons16Loops
9 lessons760Functions
7 lessons739Arrays Basics
9 lessons848Strings
5 lessons441Final Challenges
3 lessons37Section 2
Logic & Flow
Start sectionStartExpandCollapseDevelop problem-solving skills and create dynamic, interactive programsPointers and Memory
8 lessons757Vectors (Dynamic Arrays)
9 lessons861Project: Task List Tool
Project5 lessons1Maps (Key-Value Pairs)
7 lessons644Project: Inventory Tool
Project5 lessons1Sets (Unique Elements)
6 lessons538Advanced Functions
7 lessons653Basic Error Handling
6 lessons540Final Challenges
3 lessons3Section 3
Object Oriented Programming
Start sectionStartExpandCollapseDiscover how to organize code with classes, objects, and reusable structuresFundamentals of OOP
11 lessons1187Memory Management
6 lessons644Constructors & Destructors
9 lessons972Class Properties
7 lessons753Encapsulation
6 lessons651Operator Overloading
8 lessons863Inheritance
8 lessons862Polymorphism
8 lessons860Templates
6 lessons546STL Overview
6 lessons646Advanced OOP Concepts
7 lessons763Modern C++ Features
7 lessons764Design Patterns Part 1
6 lessons655Design Patterns Part 2
7 lessons764Final Challenges
2 lessons2
C++ courses
Hands-on C++ courses, free to start in your browser.
Beginner Challenges - Practice Basic Concepts
PopularPut your beginner coding knowledge to test and try to solve this programming challenges, use any language you want, Happy Coding!
Certificate on completion
- 20
- 20
Coding Problems
PopularPut your programming problem solving skills to the test using the exercises with different difficulties in this course. Designed for coders with some prior knowledge of the basic syntax in any programming language.
Certificate on completion
- 32
- 31
Stack - Data Structures Series #1
In this course, you will learn about the Stack data structure, create a Stack from zero using your preferred language, and practice coding challenges with it!
- 13
- 6
- 1
Coding Problems: Volume 2
Put your programming problem solving skills to the test using the exercises with different difficulties in this course. Designed for coders with some prior knowledge of the basic syntax in any programming language. This course is an extension of the first Coding Problems
Certificate on completion
- 25
- 24
Hash Tables - Data Structures Series #4
In this course, you will learn about the Hash Table data structure, create a Hash Table from zero using your preferred language, and practice coding challenges with it!
Certificate on completion
- 14
- 12
Linked List - Data Structures Series #5
In this course, you will learn about the Linked List data structure, create a Linked List from zero using your preferred language, and practice coding challenges with it!
Certificate on completion
- 14
- 6
- 1
Learn by Doing
Write real code, query databases, build websites, and master AI prompts. Our interactive lessons cover every skill modern developers need.
Build Your Coding Streak
Stay consistent and watch your progress grow! Track your daily coding habit, protect your streak with freeze days, and earn rewards for showing up every day.
12 days streak
Return tomorrow to keep your streak!
January 2026
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
21
22
23
24
25
26
27
28
29
30
Double or Nothing
Day 5 of 7
Streak Freeze
2 left
Code Anywhere, Anytime
Take your coding journey on the go! No setup, no downloads - just open and start coding. Available on iOS, Android and Web with 4.9 star ratings.
You're Not Alone in This
Compete on global leaderboards, invite friends to earn rewards, and celebrate each other's wins. Coding is better with friends!
Every way to learn
Read, listen, test yourself, ask the AI, or look up anything you've already covered. Every lesson meets you where you are.
A variable is a named container that stores a value you can reference later in your program.
In Python, you create one by writing the name, an equals sign, then the value you want to store.
The value can change over time - reassigning the name simply points it to a new value.
Prove Your Skills
Earn certificates for every course you complete. Add them to your LinkedIn profile and resume to showcase your coding expertise to employers.
Why learn C++ with Coddy
- Write and run real C++ code in your browser. No compiler install, no toolchain setup. Each lesson compiles your C++ server-side and shows the output instantly.
- Modern C++: classes and objects, inheritance, virtual functions, references and pointers, templates, the STL. The C++ patterns you'd actually use today.
- AI hints help you read and fix C++ compiler errors - notoriously cryptic ones especially - so the language feels approachable instead of punishing.
- Free C++ certificate when you finish. Useful for systems, game-dev, and embedded roles where C++ fluency is a baseline expectation.