兄弟姐妹们帮忙看看怎么回事 多谢啦
#include <iostream>
#include <stdio.h>
#include <stdlib.h>
using namespace std;
#define MAX 10
status createbitree(bitree &T)
{
scanf(&ch);
if(ch=='') T=NULL;
else
{if(!(T=(bitree *)malloc(sizeof(bitnode)))) exit (overflow);
T->data=ch;
createbitree(T->lchild);
createbitree(T->rchild);
}
return ok;
} //createbitree
char struct T
{char data;
struct T *lchild,*rchild;
};
void showtree(T *t)
{
T *stack[MAX],*p;
int level[MAX][2],top,n,I,width=4;
if(t!=NULL)
{top=1;
stack[top]=t;
level[top][0]=width;
while(top>0)
{p=stack[top];
n=level[top][0];
for(i=1;i<=n;i++)
printf(" ");
printf("%c",p->data);
for(i=n+1;i<50-n;i+=2)
printf(" ");
printf("\n\t\t");
top--;
if(p->rchild!=NULL)
{top++;
stack[top]=p->rchild;
level[top][0]=n+width;
level[top][1]=2;
}
if(p->lchild!=NULL)
{top++;
stack[top]=p->lchild;
level[top][0]=n+width;
level[top][1]=1;
}
}
}
}\ll\ll\ll.cpp(6) : error C2146: syntax error : missing ';' before identifier 'createbitree'
C:\ll\ll\ll.cpp(6) : error C2501: 'status' : missing storage-class or type specifiers
C:\ll\ll\ll.cpp(6) : fatal error C1004: unexpected end of file found
Error executing cl.exe.
ll.obj - 3 error(s), 0 warning(s)