Lecture 36
files in ./exception
The demonstrates various ways that exceptions can be thrown
including built in exception objects, as well as primitive and object types.
files in ./person
person.h creates a class for a Person object and overloads the "=="
operator so that objects can be compared in a more intuitive way.
person_tester
creates a simple test to use the overloaded operator.
files in ./linkedlistop
The following code expands on the linked list code we've used in previous class
examples, but adds the array indexing functionality by overloading the []
operator.
Iterators
The demonstrates the use of iterators in C++.