diff options
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -1,6 +1,9 @@ #include <stdio.h> +#include "tree.h" -int main(void) { - printf("arcfind!\n"); - return 0; +int main(){ + char str[100]; + printf("type in your tree(no spaces please): "); + scanf("%[^\n]", str); + printTree(parse(str),0); } |