Data Structures UFC  1.0.0
Essential Data Structures for C language
binary-tree.h
Go to the documentation of this file.
1 
13 #ifndef BINARY_TREE_H
14 #define BINARY_TREE_H
15 
16 #ifndef Type
17 #define Type int
18 #endif
19 #ifndef TypeFormat
20 #define TypeFormat "%d"
21 #endif
22 
23 struct BinaryNode {
24  Type value;
25  struct BinaryNode* left;
26  struct BinaryNode* right;
27 };
28 
29 typedef struct BinaryNode BinaryTree;
30 
31 #endif
struct BinaryNode * right
Definition: binary-tree.h:26
Definition: binary-tree.h:23
struct BinaryNode * left
Definition: binary-tree.h:25
Type value
Definition: binary-tree.h:24