Lecture 9 Objectives
At the end of today's class you should
KNOW:
- how each of the bag functions is implemented in Chapter 3
- how to overload an operator in a class definition
- what differentiates a member function from a non-member function
BE ABLE TO:
- analyze the efficiency of each of the bag functions from Chapter 3 using big-O analysis
- overload an operator for a simple class
Sample Exam Question:
In a short paragraph, describe the differences between member functions and non-member functions.