平淡嚓茶

文章
3
资源
0
加入时间
3年0月28天

二叉树的小程序

没事做,写了个二叉树的小程序,供初学者看看#includeusing namespace std;#define defeated NULLstruct Tree{ char ele; Tree *lchild; Tree *rchild;};Tree *create(){ char ch; cin>>ch; if(ch=='#') { return NULL;