this is just a test to see if I remember how to post code on this forum!!
[code] private:
class BinNode
{
public:
DataType data;
BinNode *left;
BinNode *right;
// BinNode constructors
BinNode() // default - data part is default DataType value; both links are NULL
: left(0), right(0)
{}
BinNode(DataType item) // data part contains item; both links are NULL
:data(item), left(0), right(0)
{}
private:
BinNodePointer myRoot;
BinNode * BinNodePointer;
}; // end class [\code]