Advertisement
Guest User

Untitled

a guest
Nov 25th, 2014
151
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. if (root)
  2. {
  3. disp( root -> left );
  4. cout << root -> key;
  5. if (root -> left ) cout<<" Lewy: "<< root -> left;
  6. if (root -> right ) cout<<" Prawy: "<< root -> right;
  7. cout<<endl;
  8. disp( root -> right );
  9.  
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement