Lesson 8. Pointers and References Explained
One of the biggest advantages of C++ is that it enables you to write high-level applications that are abstracted from the machine as well as those that work close to the board. Indeed, C++ enables you to tweak the performance of your application on a bytes and bits level.
Understanding how pointers and references work is one step toward being able to write programs that are effective in their consumption of system resources.
In this lesson, you find out
• What pointers are
• What the free store is
• How to use operators
delete to allocate and free memory
• How to write stable applications using pointers and dynamic allocation
• What references are
• Differences between pointers and references ...