8.5. Built-In Arrays

In Chapter 7, we used the array class template to represent fixed-size lists and tables of values. We also used the vector class template, which is similar to array, but can also grow (or shrink as you’ll see in Chapter 15) dynamically to accommodate more or fewer elements. Here we present built-in arrays, which are also fixed-size data structures.

Get C++11 for Programmers, Second Edition now with O’Reilly online learning.

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