diff options
author | Kyle K <kylek389@gmail.com> | 2011-01-17 20:12:11 -0600 |
---|---|---|
committer | Kamil Kaminski <kamilkss@gmail.com> | 2011-01-17 20:12:11 -0600 |
commit | dc7b772292ddf9f5d1b208ff8c9e2c59c167d0e4 (patch) | |
tree | 70e31ab60dd619b9025fe701d3fd488857157fd8 | |
parent | 7e7ddb63cf68d8733a134bfbd22d309c7e152f26 (diff) | |
download | trees-dc7b772292ddf9f5d1b208ff8c9e2c59c167d0e4.tar.gz trees-dc7b772292ddf9f5d1b208ff8c9e2c59c167d0e4.tar.bz2 trees-dc7b772292ddf9f5d1b208ff8c9e2c59c167d0e4.zip |
add few more tokens
-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 |