正在加载图片...
大大★大大大大大大大大大大大大大大大大大大大大大大大大大大大大大大大大大大大 二叉排序树用的头文件 文件名: bstree. h 大大大大大大大大大大大大大大大大大大大大大大大大大大 二叉排序树存储结构 include<stdio h> 定义 includesstdlib. h> typedef int datatype typedef struct node /二叉排序树结点定义* i datatype key /结点值 struct node *child,* schild;鬥左、右孩子指针 Snode pede bsnode *bstree/**************************************/ /* 二叉排序树用的头文件 */ /* 文件名:bstree.h */ /**************************************/ #include<stdio.h> #include<stdlib.h> typedef int datatype; typedef struct node /*二叉排序树结点定义*/ { datatype key; /*结点值*/ struct node *lchild,*rchild; /*左、右孩子指针*/ }bsnode; typedef bsnode *bstree; 二叉排序树存储结构 定义
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有