Outline
Pointers
- What is a pointer?
- Pointer Variables
- Addresses and Numbers
- The * and & Operators
- The NULL Constant
- The new and delete Operators
- Example
- Heap
- Defining New Types with typedef
- Dangling Pointers
- Variable Type Terminology
Dynamic Arrays
- Motivation
- Array Variables and Pointer Variables
- Example
- Creating and Using Dynamic Arrays
- Example
- Pointer Arithmetic
- Example