Free course on MIT OpenCourseWare

Introduction to C++ (MIT 6.096)

30 hoursFree

Reviewed by the FreeCodingCourses.com editorsLast reviewed: How we review

At a glance

Level
Intermediate
Hours
30
Cost
Free

No certificate with this course.

Open Course

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.
What to take next
Once your C++ problem sets run cleanly, 6.005 from the same OCW catalogue teaches specs, tests and abstract data types, in Java. Software Construction in Java (MIT) →

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.

Course Details

Language
C++
Level
intermediate
Duration
30h
Certificate
No
Cost
Free
All Courses

Frequently Asked Questions

Is MIT's C++ course free?

Yes, free on MIT OpenCourseWare.

Do I need to know C first?

Helpful but not required. Some C knowledge helps understand pointers and memory.

What's the difference between C++ and Java?

C++ compiles directly to machine code (faster). Java compiles to bytecode (cross-platform). C++ is harder; Java is more beginner-friendly.

Why learn C++ for game development?

Unreal Engine uses C++. Games demand maximum performance, which C++ delivers.

After this, what's next?

Modern C++ features (C++17/20), the STL (standard template library), and a game or systems project.

More C++ Courses