MIT's Introduction to C++ (6.096) is a free course on MIT OpenCourseWare that teaches C++ through a practical lens, covering classes, inheritance, templates, and the standard library. C++ is the language of game engines, high-frequency trading, and anything where both performance and object-oriented design matter. After finishing, you understand C++ core concepts and can write object-oriented programs. The main limitation: C++ is vast. This intro covers fundamentals; real C++ mastery takes years and multiple books.
Unreal Engine, used to build most AAA games, is written in C++ and exposes its own gameplay framework in C++ for that reason (source: Epic Games' Unreal Engine documentation, dev.epicgames.com/documentation/unreal-engine).
Editor’s take
- Best for
- Students with a little programming background who need C++ quickly, for example before a course or job that uses it. MIT says prior experience makes it easier but is not required.
- What you will be able to build
- Ten lectures run from flow of control and functions through arrays, strings and pointers to classes, object-oriented programming and memory management. You do four problem sets and a final project, and the stated goal is to write small C++ programs.
- The hardest part
- Memory. Pointers in lecture 5 and memory management in lecture 8 are where C++ bites, and the syllabus warns you will almost certainly need help on the problem sets. You also install a compiler yourself; MIT suggested Code::Blocks with GCC.
Written from the course’s own syllabus and our review criteria.
About This Course
MIT's introductory C++ course. Covers C-style fundamentals, classes, inheritance, polymorphism, templates, and the STL. Includes complete lecture notes, assignments, and quizzes. All free on OpenCourseWare.