1 2 3 4 5 6 7 8 9
#include <stdio.h> #include "tree.h" int main(){ char str[100]; printf("type in your tree(no spaces please): "); scanf("%[^\n]", str); printTree(parse(str),0); }