Documentation Project 1
ContentsIndexHome
PreviousUpNext
sack::containers::BinaryTree::CreateBinaryTree Macro
C++
#define CreateBinaryTree CreateBinaryTreeEx( NULL, NULL )

This is the simplest way to create a binary tree. 

The default compare routine treats 'key' as an integer value that is compared against other for lesser/greater condition. 

This tree also allows duplicates to be added.

   
PTREEROOT tree = CreateBinaryTree();
   
Copyright (c) 2010. All rights reserved.
What do you think about this topic? Send feedback!