Quote (axumo0 @ Nov 24 2013 01:42pm)
well i think i pretty much figured out my problem is that my parent node isnt being changed to my temp node so everytime it goes to add a 4th node it starts back from the beginning and replaces the left or right node with the value I enter. I'm just not sure how to make that work maybe if i add
Code
temp = temp -> right
or
temp = temp -> left
so are you having a logic error or a different kind of error?
If it is the former, pen and paper time.