From dc7b772292ddf9f5d1b208ff8c9e2c59c167d0e4 Mon Sep 17 00:00:00 2001 From: Kyle K Date: Mon, 17 Jan 2011 20:12:11 -0600 Subject: add few more tokens --- trees.c | 6 +++--- trees.h | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/trees.c b/trees.c index 60de45a..1a70769 100644 --- a/trees.c +++ b/trees.c @@ -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]); diff --git a/trees.h b/trees.h index 95a1c0a..57a3ae7 100644 --- a/trees.h +++ b/trees.h @@ -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 -- cgit v1.2.3