7

Technicalities: Functions, etc.

No amount of genius can overcome obsession with detail.

– Traditional

In this chapter and the next, we change our focus from programming to our main tool for programming: the C++ programming language. We present language-technical details to give a slightly broader view of C++’s basic facilities and to provide a more systematic view of those facilities. These chapters also act as a review of many of the programming notions presented so far and provide an opportunity to explore our tool without adding new programming techniques or concepts.

§7.1 Technicalities

§7.2 Declarations and definitions

Kinds of declarations; Variable and constant declarations; Default initialization

§7.3 Scope

§7.4 Function call and return ...

Get Programming: Principles and Practice Using C++, 3rd 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.