1. Your First C++ Programs

There’s nothing to fear about C++ programming—really! Like all programming languages, it’s just a way to give logically precise directions to a computer.

C++ can get as complicated as you want, but the easy way to start learning is to use it to solve the fundamental programming tasks. That’s the approach here.

In the first couple of sections, I review the basic concepts of programming. If you’ve programmed in any language, you might want to skip these. But if you stick around, I promise to not be too long-winded.

Thinking Like a Programmer

Programming may not be exactly like any activity you’ve ever done. Basically, you’re just giving instructions—but doing so in a logical, systematic manner.

Computers Do Only What ...

Get C++ Without Fear: A Beginner’s Guide That Makes You Feel Smart, Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.