not working function with no errors
<p>I've implemented a function to display an avl tree after inserting nodes into it like this</p>

<pre><code>template&lt;class nodetype&gt;
void AVLtree&lt;nodetype&gt;::display() const
{
 display(Proot);
}

template&lt;class nodetype&gt;
void AVLtree&lt;nodetype&gt;::display(Node&lt;nodetype&gt; * ptr) const
{
 if(ptr==0)
  return ;
 cout&lt;&lt;ptr-&gt;value&lt;&lt;" ";
 display(ptr-&gt;Pleft);
 display(ptr-&gt;Pright);
}
</code></pre>

<p>after compiling,there were no errors ,the program worked but nothing were printed on the screen</p>

<p>help me please....!!
thanks</p>
