- declaration of
funcionType:
typedef void (*functionType)(treeItemType& AnItem);
Discuss the usefulness of passing a function as a parameter.
- wrapper functions such
as:
virtual void PreorderTraverse(functionType Visit);
- the wrapper calls an internal version of the function with an
additional parameter -- to allow for
recursion:
void Preorder(ptrType TreePtr, functionType Visit);
- Finish discussion of how traversal is made to work in the
BT.h and BT.cpp implementation.
- Discuss the other binary tree Operations -- see the file BT.h
for the list and the specs.
-