I need a simple c++ PROGRAM to perform SEARCH operations in a BIANRY SEARCH TREE
SEARCH operation in a BINARY SEARCH TREE
Thanks a lot for your approach... But if you see the program more deeply, you can see that the program can perform all the operations on a binary search tree except the SEARCHING an element opreation ( and thats exactly what i want ).....
There is a function in that code to print the elements in order. You can adapt that function so that instead of printing the element it compares it with what you're looking for. This should be quite simple to do.