Introduction to C and C++

A composite image with C++ code on top, and photographs of a tiger and Persian cat below.

Learn the safe ways to cast cats (and other C++ objects) in lecture 7. (Photographs by Rachel Macniven and James Moberg on Flickr.)


MIT Course Number


As Taught In

January IAP 2013



Cite This Course

Course Features

Course Description

This course provides a fast-paced introduction to the C and C++ programming languages. You will learn the required background knowledge, including memory management, pointers, preprocessor macros, object-oriented programming, and how to find bugs when you inevitably use any of those incorrectly. There will be daily assignments and a small-scale individual project.

This course is offered during the Independent Activities Period (IAP), which is a special 4-week term at MIT that runs from the first week of January until the end of the month.

Other OCW Versions

OCW has published multiple versions of this subject. Question_OVT logo

Tom Lieber, Kyle Murray, and Frank Li. 6.S096 Introduction to C and C++, January IAP 2013. (Massachusetts Institute of Technology: MIT OpenCourseWare), (Accessed). License: Creative Commons BY-NC-SA

For more information about using these materials and the Creative Commons license, see our Terms of Use.