Previous Lecture | lect10 Slides | Next Lecture |
Topics
Code from lecture
https://github.com/ucsb-cs16-f18-nichols/code-from-class/tree/master/11-01
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