1

The Basics

The first thing we do, let’s kill all the language lawyers.

– Henry VI, Part II

1.1 Introduction

This chapter informally presents the notation of C++, C++’s model of memory and computation, and the basic mechanisms for organizing code into a program. These are the language facilities supporting the styles most often seen in C and sometimes called procedural programming.

1.2 Programs

C++ is a compiled language. For a program to run, its source text has to be processed by a compiler, producing ...

Get A Tour of C++, 2nd 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.