Commit | Line | Data |
---|---|---|
436ac5fb | 1 | #include "cll1.h" |
2 | ||
3 | def_mem(Leaf) | |
4 | { | |
5 | int value; | |
6 | array(Leaf); | |
7 | }; | |
8 | ||
9 | program | |
10 | { | |
11 | Leaf leaf,root=NULL; | |
12 | ||
13 | for_ints(i, 8,1,-2,745,-32,-64,27,4 ) printf(" [%d]",i) | |
14 | { | |
15 | leaf=get_mem(Leaf); | |
16 | ||
17 | //init | |
18 | leaf->__next=NULL; | |
19 | leaf->__seek=NULL; | |
20 | leaf->__key=i; | |
21 | ||
22 | //grow tree | |
23 | for(leaf=root; leaf && leaf->__key >= i ; leaf=leaf->__next) | |
24 | { | |
25 | if(leaf->__seek->key >=) | |
26 | } | |
27 | ||
28 | ||
29 | } | |
30 | ||
31 | } |