Previous Lecture | lect10 Slides | Next Lecture |
Topics
Code from lecture
https://github.com/ucsb-cs16-s19-nichols/code-from-class/tree/master/05-07
Stuff I wrote on the “whiteboard”
Go here and click on the appropriate date: https://1drv.ms/o/s!AlgIeD1urAgmgQHsG_JzMJgKHx9V
Kevin’s Notes
Follow this link to access the notes
Pointers and structs
- Defining your own data types using structs
- Different ways of accessing member variables of a structs
- Passing structs to functions by value, by reference and by address
C++ References
- Creating aliases with references
- Differences between references and pointers