diff options
-rw-r--r-- | trees.c | 6 | ||||
-rw-r--r-- | trees.h | 1 |
2 files changed, 4 insertions, 3 deletions
@@ -66,9 +66,9 @@ int main(int argc, char **argv) struct tnode *root = NULL; char *tokens[] = { "Anything", "that", "can", "go", "wrong", "will", - "binary", "tress", "are", "usefull", - "dreaming", "in", "digital", "living", "in", - "binary", "talking", "in", "ip"}; + "binary", "trees", "are", "useful", + "dreaming", "in", "digital", "living", "in", "realtime", + "thinking", "in", "binary", "talking", "in", "ip"}; int i; for (i = 0; i < sizeof(tokens) / sizeof(char *); i++) root = bintree_insert(root, tokens[i]); @@ -19,5 +19,6 @@ struct tnode *bintree_insert(struct tnode *, char *); void treeprint_prefix(struct tnode *); void treeprint_infix(struct tnode *); void treeprint_postfix(struct tnode *); + #endif |