C++ Course
C++ takes C's close-to-the-hardware model and builds a proper language for large programs on top of it: classes that bundle data with behavior, references that make functions safer to call, and a standard library full of containers and algorithms you'd otherwise have to write yourself. It still trusts you with memory and performance the way C does — it just gives you better tools for managing that trust.
What you'll learn
This course assumes no prior C or C++ experience, though if you've written C before you'll recognize the syntax immediately and can move quickly through the early lessons. You'll start by getting a program compiled and running, work through the core syntax — variables, operators, conditionals, loops, functions — and then spend the second half on the ideas that actually distinguish C++ from C: arrays versus the safer std::vector, the std::string type, pointers and references, and finally classes, constructors, and inheritance. Every lesson runs real code through g++ and shows you exactly what prints, so you can trust what you're reading matches what your own compiler will do.
Lessons
- Introduction
- Variables & Data Types
- Operators
- Conditionals
- Loops
- Functions
- Arrays & Vectors
- Strings
- Pointers & References
- Classes & Objects
- Constructors & Destructors
- Inheritance & Polymorphism