typedef struct node
{
char data;
struct node *lchild,*rchild;
}node,*bitptr;
bitptr creat(void)
{
bitptr root;
char c;
cin
typedef struct node
{
char data;
struct node *lchild,*rchild;
}node,*bitptr;
bitptr creat(void)
{
bitptr root;
char c;
cin>>c;
if('#' == c)
return NULL;
else
{
root = new node;
root->data = c;
root->lchild = creat();
root->rchild = creat();
}
return root;
}