Introduction to C++

Lesson 1 of 20

C grows up: meet cout, classes and the STL toolbox, and watch hello.cpp travel from source text to a running program.

The big picture

Why learn C++?

C++ keeps all of C's raw power and adds classes, objects and a giant standard library.

C, supercharged

Almost every C program is valid C++. C++ keeps the speed and adds features on top.

Objects & classes

Bundle data and behaviour into your own types — the heart of this course.

The STL toolbox

Containers like vector and algorithms like sort ship with every compiler.

Runs everywhere

Game engines, browsers, databases — C++ dominates performance-critical software.

1979

C with Classes

Bjarne Stroustrup starts adding classes to C at Bell Labs.

1985

C++ is born

The first official release ships — and the name sticks.

1998

ISO standard

C++98 becomes the first internationally standardized version.

2011

C++11

auto, lambdas and range-for drag the language into the modern era.

2014+

C++14 / 17

The language now evolves in steady three-year waves.