summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/main.c b/main.c
index bfea3b3..566330c 100644
--- a/main.c
+++ b/main.c
@@ -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);
}