Previous Lecture | Lecture 10 | Next Lecture |
Lecture 10, Tue 02/11
Defining custom types with structs, intro to lab05
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