Chapter 2. C++ Basics

This chapter introduces the language primitives of C++, the building blocks for programming and design. We look at the foundations of C++ programs using built-in types, variables, operators, expressions, and control flow constructs. Along the way, we'll present tips and techniques that show you how to use these language primitives efficiently.

Get Navigating C++ and Object-Oriented Design 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.