Data Structures UFC
1.0.0
Essential Data Structures for C language
Main Page
Data Structures
Files
File List
Globals
src
tree
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
BinaryNode::right
struct BinaryNode * right
Definition:
binary-tree.h:26
BinaryNode
Definition:
binary-tree.h:23
BinaryNode::left
struct BinaryNode * left
Definition:
binary-tree.h:25
BinaryNode::value
Type value
Definition:
binary-tree.h:24
Generated by
1.8.11