Previous Lecture Lecture 9 Next Lecture

Lecture 9, Thu 02/06

Arrays and Pointers

Topics

This lecture and many of the coming lectures require that we understand how our programs interact with computer memory. This is not required to understanding some of the programming constructs like arrays and pointers but is crucial for reasoning about weird program behavior and debugging. So, we will begin with a model of computer memory and then delve into C++ arrays and pointers

C++ arrays