I've wrote my code nad when I want to build it it says: unresolved external symbol" for some functions, like the destructor:
header file:
template <class T> class Tree
{
*not important*
public:
~Tree()
}
cpp file:
template <class T>
Tree<T>::~Tree()
{
if (root != NULL)
clear(root);
}
I also defined and clear function so thats not the problem..