• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Error when trying to copy Binary Search Tree

DarkKnight

Golden Member
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
 
Back
Top