20-CS-122-001 Computer Science II Spring 2012
Inheritance II

Virtual functions, classes, inheritance, lists, queues, stacks, applications

   
visib.cc Visibility of variables and functions in the hierarchy
mult.cc Simple multiple inheritance, demonstrates ambiguities to protect against
student.cc Possible ambiguity in multiple inheritance
list.cc A List class to support several classes below
list.h include file for the above
simple.cc Simple lest of the List class
list_ext.cc Extension of List class - adds find and moveToFront
list_ext.h include file for the above
list_test.cc Simple test of the extended class
emp_list.cc 2nd extension - employee list database
emp_list.h include file for the above
emp3.cc Application - employee database

Demos:    Inheritance    visib classes    multi classes    emp classes