Sack Library Documentation
ContentsIndexReferenceHome
PreviousUpNext
sack::containers::BinaryTree::FindInBinaryTree Function
C++
__cdecl TYPELIB_PROC POINTER FindInBinaryTree(PTREEROOT root, PTRSZVAL key);

user data POINTER if found, else NULL.

Search in a binary tree for the specified key.

   
PTREEROOT tree;
   
void f( void )
{
   POINTER mydata = FindInBinaryTree( tree, 5 );
   if( mydata )
   {
       // found '5' as the key in the tree
   }
}
Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at support@toolsfactory.com.
Copyright (c) 2000+. All rights reserved.
What do you think about this topic? Send feedback!