void foundtree(BiTree *root)
{
char x;
fflush(stdin);
scanf("%c",&x);
if(x=='#')
{
*root=NULL;
}
else
{*root=(BiTree)malloc(sizeof(BiTreeNode));
(*root)->data=x;
foundtree(&(*root)->lchild);
foundtree(&(*root)->rchild);
}
}
为什么一定要加缓冲区
```