Contents
Chapter 2 Variables and Basic Types
Chapter 3 Strings, Vectors, and Arrays
Every widely used programming language provides a common set of features, which differ in detail from one language to another. Understanding the details of how a language provides these features is the first step toward understanding the language. Among the most fundamental of these common features are
• Built-in types such as integers, characters, and so forth
• Variables, which let us give names to the objects we use
• Expressions and statements to manipulate values of these types
• Control structures, such as if
or while
, that allow us to conditionally or repeatedly execute a set ...
Get C++ Primer, 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.