Previous Lecture | Lecture 11 | Next Lecture |
Lecture 11, Tue 11/05
Defining custom types with structs, intro to lab05
Topics
Code from lecture
Topics
- Defining your own data types using structs
- Different ways of accessing member variables of a structs (use of . vs ->)
- Nested structs (lab 05)
- Pointers to structs, why and when to use them?
- Passing structs to functions by value, by reference and by address
- Working with arrays of structs