Previous Lecture | lect03 | Next Lecture |
Code from lecture:
https://github.com/ucsb-cs24-mirza/cs24-s20-lectures/tree/master/lec-03
Topics
The big four
- Constructor
- Default and parameterized constructors (Review)
- Initializing const member variables using initialization lists
- Destructor
- Copy-constructor
- Copy-assignment
Operator overloading
- We will overload some common operators for the complex class.