Hmm, looking at this in more detail, its a lot worse than that.
You don't seem to understand polymorphism. You currently have it that every Tree_node is a Tree, but what you need to have is either...
Type: Posts; User: iMalc
Hmm, looking at this in more detail, its a lot worse than that.
You don't seem to understand polymorphism. You currently have it that every Tree_node is a Tree, but what you need to have is either...
Lets start with fixing line 29. It has the wrong version of delete.
delete[] matches new[] and delete matches new.