C++20 sections · 1024 units
Open in Course

Section Recap

What we learned

You now create custom types with structs.

1.1. Structs group related variables together

2.2. Access members with the dot operator

3.3. Pass structs to functions by reference for efficiency

4.4. Arrays of structs organize complex data

Good job. You can now model real-world entities. Next, you will learn vectors for dynamic arrays.