Code Examples
from
Chapter 15
Extending Classes
of
Programming with Objects
NOTE: Browsers generally have difficulty displaying source code files in
their raw form. A browser may also gratuitously enclose a raw source
code file within html tags for the purpose of display. So it is best to
right-click on the items listed below and to then click on the "save
link as" or the "save target as" menu item for directly transferring the
file to your local disk.
DerivedNameConflict.cc
DerivedConstructor.cc
DerivedConstWithBaseNoArg.cc
DerivedCopyConstruct.cc
DerivedAssignOp.cc
DerivedOverloadOp.cc
DerivedDestructCase1.cc
DerivedDestructCase2.cc
DerivedDestructCase3.cc
VirtualPrint1.cc
VirtualPrint2.cc
StaticBinding.cc
VtprConcealed.cc
VirtualFunctionCost.cc
OverrideReturnRestrict.cc
PrivateVirtual.cc
OverrideExceptionRestrict.cc
VirtualDestructor.cc
ConstructorOrder.cc
ConstructorOrderFoo.cc
AbstractShape.cc
AbstractShapeIncremental.cc
ImplementationInherit.cc
NameLookup.java
NameLookup.cc
OverrideAccessRestrict.java
ConstructorOrderFoo.java
AbstractShapeIncremental.java
MultiPolymorphism.java
ExtendedInterface.java
Employee.h
Manager.cc
Manager.java
MysteryBug.cc
Back to the home page for Programming with Objects