this ones has keep me up all night long
binTNode.h defines the nodes with a constructor that looks something like this.
binTree.h is a friend of binTNode.h and from what i assume should be able to create a new node like so.Code:public: binTNode(const T& =T(), binTNode<T>* =0, binTNode<T>* =0);
however this error comes up.Code:root = new binTnode<T>();
also the bin tree class creates aCode:Undefined first referenced symbol in file binTNode<int>::binTNode[in-charge](int const&, binTNode<int>*, binTNode<int>*)prog3.o ld: fatal: Symbol referencing errors. No output written to prog3.exe collect2: ld returned 1 exit status bash-3.00$
pointer without a problem. as for now im fried. any suggestions appreciated.Code:binTNode<T>* root;