| Table of ContentsThe C++ Programming Language Your Instructor Homework Solution 1: stack.h Homework Solution 1: stack.cc Homework Solution 1: stack.cc Homework Solution 2: stack.h Homework Solution 2: stack.cc Homework Solution 2: stack.cc Homework Solution 2: stack.cc Homework Solution 2: stack.cc Calling By Reference Call By Reference Example Avoiding the Preprocessor Traditional Preprocessor Usage Defining Numeric Constants Enumerating Symbolic Constants Avoiding Function Call Overhead C++ Inline Functions Type-independent Code Problems With the C Version The C++ Solution: Templates Template Example The Preprocessor Is Not Evil Inheritance Inheritance Example Properties of Subclasses More on Inheritance Using Your Parents Pointers to Subclasses Virtual Functions Virtual Functions: Syntax Virtual Functions: C Example Virtual Functions: C++ Version Abstract Base Classes Abstract Base Classes: Example Abstract Base Classes: Syntax Pure Virtual Functions Homework Homework: Example Code | Author: Jeremy Elson  Email:  jeremy.elson@nih.gov   Home Page:  http://cambot.dcrt.nih.gov/~jelson/560  |