CMIS 240 Week 6 Let's learn about pointers and dynamic memory allocation in Chapter 4. We'll do queues next week. The section on pointers (page 197) explains what a pointer is (pointer is synonymous with memory address), how to declare a pointer variable (a variable whose value will be the address of some variable), how to have the pointer variable point to some variable, and how to access the thing that the pointer points to by using the dereference operator. Pointers to structs will be used when we learn about linked lists in chapter 5. The next section on dynamically allocated arrays explains this important use of pointers. Download and play with the pointer.cpp program in Chapter 4 subdirectory of the class web site. Read and run it until you understand everything it's doing. Download the three files in StackType3. The driver stackdr.cpp is almost the same as the one in StackType2 except for the use of the non-default constructor of the stack class. The stack class is implemented with a dynamically allocated array. Read and run it until you understand everything it's doing.