Previous Lecture Lecture 10 Next Lecture

Lecture 10, Thu 08/01

The good, bad and ugly about pointers, C++ Memory Model, Dynamic memory allocation (Heap), Heap vs Stack

Code from lecture

https://github.com/ucsb-cs16-m19/code-from-class/tree/master/08-01

Stuff I wrote on the “whiteboard”

Go here and click on the appropriate date: https://1drv.ms/o/s!AlgIeD1urAgmgQU7loNfb3-LYrma

Topics

The good:

The bad:

The ugly

C++ Memory model