not working function with no errors
Posted
by aya
on Stack Overflow
See other posts from Stack Overflow
or by aya
Published on 2010-04-12T22:42:05Z
Indexed on
2010/04/12
22:42 UTC
Read the original article
Hit count: 183
c++
hello.. I've implemented a function to display an avl tree after inserting nodes into it like this
template void AVLtree::display() const { display(Proot); }
template void AVLtree::display(Node * ptr) const { if(ptr==0) return ; cout<value<<" "; display(ptr->Pleft); display(ptr->Pright); }
after compiling,there were no errors ,the program worked but nothing were printed on the screen
help me please....!! thanks
© Stack Overflow or respective owner