Error when trying to copy Binary Search Tree

DarkKnight

Golden Member
Apr 21, 2001
1,197
0
0
My problem is that whenever I run the BST copy constructor, it gives me an abort error when I run it. The wierd thing is that when i used cout to test where it messes up, it shows that the copy constructor finished running, so I really have no idea why its doing it. If i dont write a copy contructor my program works without an abort, so I'm assumeing the problem must be somewhere in the cpy constructor, but have no idea what it is, but have a feeling it has something to do with mycopy function. My code is attached