Need urgent help

I'm not sure why my main.cpp file doesn't work as intended, but my friend does using my header file to run his code. Therefore, the header file code shouldn't be the problem, but rather my main file. I have no idea what's wrong and need help. Our file reads from file and places it into the tree

My header file used to run the code
https://pastebin.com/RyRBKHE4

dsexception file
https://pastebin.com/eJ5EmNXn

Friend's cpp file
https://pastebin.com/tuJK6FiP

My file
https://pastebin.com/g38KsJm3

text file for insert
https://pastebin.com/41j7wR6k

text file for delete
https://pastebin.com/LVk4M77M

Topic archived. No new replies allowed.