my code was working fine until i tried to implement the function to find the height of the tree. any idea where i messed up or a better way of doing this? i need to find the height of both the left and right side so that i can check to see if its balanced or not.
thanks!
-Sporx
thanks for the heads up on the typo!=] i shoulda caught that.. however theres still a problem somewhere, im getting errors on lines 143 stating :
"no matching function call for binarysearchtree::height()",
and line 86, stating
"candidates are: int BinarySearchtree::height(BinarySearchtree::tree_Node*)"
and I dont know what either mean or how to fix them=/ any advice?