In This Chapter
Working with arrays and multidimensional arrays
Understanding the connection between arrays and pointers
Dealing with pointers in all their forms
Using reference variables
When the C programming language, predecessor to C++, came out in the early 1970s, it was a breakthrough because it was small. C had only a few keywords. Tasks like printing to the console were handled not by built-in keywords but by functions.
Technically, C++ is still small. So what makes C++ big?
In this chapter, we give you the full rundown of topics that lay the foundation for C++: arrays, pointers, and references. In C++, these items come up again and again.
We assume that you have a basic understanding of C++ — that is, that you understand the material in Book I and Book II, Chapter 1. You know the basics of pointers and arrays (and maybe just a teeny bit about ...