Week 1. At a Glance

As you prepare for your first week of learning how to program in C++, you will need a few things: a compiler, an editor, and this book. If you don’t have a C++ compiler and an editor, you can still use this book, but you won’t get as much out of it as you would if you were to do the exercises.

The best way to learn to program is by writing programs! At the end of each day, you will find a workshop containing a quiz and some exercises. Be certain to take the time to answer all the questions, and to evaluate your work as objectively as you can. The later lessons build on what you learn in the earlier days, so be certain you fully understand the material before moving on.

A Note to C Programmers

The material in the first five ...

Get Sams Teach Yourself C++ in 21 Days , Fifth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.