It crashes when I try to print, I dont think it is inserting the last values into the tree and so when it trys to print a null value it crashes. I'm just curious if I'm heading in the right direction and perhaps how to fix my printing issue as well as some hints on deleting and searching.
ne555 can you expand on how I could fix the issue, I see what you mean by moving the root, would I just need to make a different pointer other than the root pointer? I was just treating the r pointer as the root to begin with then as a normal pointer after.