Beginner to Pro · 24 lessons · Free
C++: Zero to Hero
Bite-sized lessons of 5–10 minutes. Run the examples, crush the challenge, stack up XP: one lesson at a time, from beginner to pro.
C++ progress0/24 lessons
- MODULE 1
C++ Basics
cout, variables, string, cin and getline
- MODULE 2
Conditions and Loops
if/else, switch, loops and patterns
- MODULE 3
Functions
Overloading, default arguments, references and recursion
- MODULE 4
STL: The Standard Template Library
vector, algorithms, string, map, set, stack and queue
- 1. vector: The Growable Arraypush_back, size, at and range-for 9 min 30 XP
- 2. STL Algorithms: sort, reverse and find<algorithm> and <numeric> 10 min 30 XP
- 3. The string Class and String Problemssubstr, find, replace, reverse and palindromes 10 min 30 XP
- 4. map and unordered_mapKey-value storage and counting 10 min 35 XP
- 5. set, stack, queue and priority_queueThe STL containers behind DSA 11 min 35 XP
- MODULE 5
Object-Oriented Programming (OOP)
Classes, constructors, inheritance, virtual functions and operator overloading
- 1. Classes and ObjectsClasses, objects, public/private and methods 10 min 30 XP
- 2. Constructors and DestructorsInitializer lists, overloaded constructors and ~destructors 10 min 30 XP
- 3. InheritanceBase and derived classes, protected and constructor chaining 10 min 35 XP
- 4. Virtual Functions and Polymorphismvirtual, override, pure virtual and abstract classes 11 min 35 XP
- 5. Operator OverloadingTeach +, == and << to work with your class 10 min 35 XP
- MODULE 6
Modern C++ and a Project
Smart pointers, lambdas, templates, exceptions and a mini project
- 1. Pointers, new/delete and Smart PointersHeap memory, unique_ptr and shared_ptr 11 min 35 XP
- 2. Lambdas and Custom Sorting[](...) { }, captures and sorting with a comparator 10 min 35 XP
- 3. Templates: Generic CodeOne piece of code for many types 9 min 35 XP
- 4. Exceptions: try, catch and throwHandle errors safely 9 min 35 XP
- 5. Mini Project: Inventory ManagementClasses, map, exceptions and sorting together 15 min 50 XP