Previous Lecture | lect06 | Next Lecture |
Code from lecture
https://github.com/ucsb-cs24-mirza-s21/cs24-s21-lectures/tree/main/lect06
Topics
The big three
18 * Constructor 19 - Default and parameterized constructors (Review) 20 - Initializing const member variables using initialization lists 21 * Destructor 22 * Copy-constructor 23 * Copy-assignment 24 25 ## Operator overloading 26 * We will overload some common operators for the complex class.
- More on operator overloading
- ==, !=, «
- Use cases for friend functions