Previous Lecture | lect13 | Next Lecture |
lect13, Wed 11/09
Structs with member functions, Classes
We’ll continue improving the design of the code from last lecture using structs that also have member functions. We’ll talk about the shortcomings of the design with structs as motivation for using C++ classes.
Link to starter code: https://github.com/ucsb-cs16-f22/lectures/tree/main/lect13/v03