树结构节点类型定义
#define MAX_NODE 100
typedef struct listnode {
int childno; /* 孩子节点编号 */
struct listnode *next;
} CTNode; /* 表节点结构 */
typedef struct {
ElemType data;
CTNode *firstchild;
} HNode; /* 头节点结构 */
3.72MB
文件大小:
评论区