24,855
社区成员
发帖
与我相关
我的任务
分享
#ifndef _BinaryTree_h
#define _BinaryTree_h
typedef char ElemType;
typedef struct _BTNode
{
ElemType data;
struct _BTNode *left;
struct _BTNode *right;
} BTNode,*BiTree;
//typedef struct student BTNode;
#endif
#include <stdio.h>
#include "BinaryTree.h"
void main()
{
struct _BTNode a={'M',NULL,NULL};
BTNode b={'F',NULL,NULL};
printf("%c\n",a.data);
printf("%c\n",b.data);
}