Previous Lecture lect08 Slides Next Lecture

Code from lecture

https://github.com/ucsb-cs16-f18-mirza/cs16-f18-lectures/tree/master/lec-08

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