-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating
C++ Memory Management
By :
Before we start discussing memory management in C++, let’s make sure we understand each other and agree on a common vocabulary. If you’re a long-time C++ programmer, you probably have your own ideas about what pointers, objects, and references are. Your ideas will stem from a wealth of experience. If you are coming to this book from another language, you might also have your own ideas as to what these terms mean in C++ and how they relate to memory and memory management.
In this chapter, we are going to make sure we have a common understanding of some basic (but profound) ideas so that we can build on this shared understanding for the rest of our adventure together. Specifically, we will explore questions such as the following: