Previous Lecture | lect10 Slides | Next Lecture |
Code from class
Code from class: https://github.com/ucsb-cs16-su17/code-from-class/tree/master/Lec10
Topics
- Dangling Pointers
- Memory leaks
- Counting the nodes in a linked list
- Freeing a linked list in the right order
- GDB
- Square root example (that was so close to being correct! I’m still not over this.)