Here is the handout on Big-O
big-o
Here is some sample sorting code
basic sorting
merge sort
quick sort
Here is some sample overload code
These are a little insane, but they get the idea accross.
unary overloads
binary overloads
Here is some sample virtual inheritance code
Makefile
bar.cpp
dnode.h
foo.cpp
list.h
listcon.h
queue.h
stack.h
listcon.cpp is not given since it is the node list implimentation.
That last time I posted it, someone turned it in for a program.