Previous Lecture | Lecture 9 | Next Lecture |
Lecture 9, Tue 07/30
References, defining your own data types with structs
Code from lecture
https://github.com/ucsb-cs16-m19/code-from-class/tree/master/07-30
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