I don't think you're doing what I told you to. I said to include this file:
at the end of *this* file:Code:#include<iostream> #include"tree.h" using namespace std; template<class elemType> bool binaryTreeType<elemType>::isEmpty() { return(root==NULL); } ...etc
Code:template<class elemType> struct nodeType { int key_value; nodeType<elemType> *left; nodeType<elemType> *right; elemType info; nodeType<elemType> *llink; nodeType<elemType> *rlink; }; template<class elemType> class binaryTreeType ...etc




Reply With Quote
