资源简介

代码片段和文件信息
/*****************************************************************************
* *
* ex-1.c *
* ====== *
* *
* Description: Illustrates using a binary search tree (see Chapter 9). *
* *
*****************************************************************************/
#include
#include
#include
#include “bistree.h“
/*****************************************************************************
* *
* Define the size of strings. *
* *
*****************************************************************************/
#define STRSIZ 6
/*****************************************************************************
* *
* ---------------------------- preorder_tree ----------------------------- *
* *
*****************************************************************************/
static void preorder_tree(const BiTreeNode *node) {
/*****************************************************************************
* *
* Display the binary search tree rooted at the specified node. *
* *
*****************************************************************************/
if (!bitree_is_eob(node)) {
fprintf(stdout “Node=%s %+2d hidden=%d\n“ (char *)((AvlNode *)
bitree_data(node))->data ((AvlNode *)bitree_data(node))->factor
((AvlNode *)bitree_data(node))->hidden);
if (!bitree_is_eob(bitree_left(node)))
preorder_tree(bitree_left(node));
if (!bitree_is_eob(bitree_right(node)))
preorder_tree(bitree_right(node));
}
return;
}
/*****************************************************************************
* *
* ------------------------------ compare_str ----------------------------- *
* *
*****************************************************************************/
static int compare_str(const void *str1 const void *str2) {
int retval;
/**********************************************
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2013-08-08 11:01 [中译本][算法精解:C语言描述]源代码\
目录 0 2014-09-09 19:25 [中译本][算法精解:C语言描述]源代码\examples_pc\
文件 3462 2000-05-16 07:17 [中译本][算法精解:C语言描述]源代码\examples_pc\README
文件 2627 2000-05-16 07:17 [中译本][算法精解:C语言描述]源代码\examples_pc\contents
目录 0 2001-10-31 11:14 [中译本][算法精解:C语言描述]源代码\examples_pc\examples\
目录 0 2014-09-09 19:25 [中译本][算法精解:C语言描述]源代码\examples_pc\examples\bistree\
文件 4849 2000-05-16 07:17 [中译本][算法精解:C语言描述]源代码\examples_pc\examples\bistree\bistree.mak
文件 13157 2000-05-16 07:17 [中译本][算法精解:C语言描述]源代码\examples_pc\examples\bistree\ex-1.c
目录 0 2014-09-09 19:25 [中译本][算法精解:C语言描述]源代码\examples_pc\examples\bit\
文件 4749 2000-05-16 07:17 [中译本][算法精解:C语言描述]源代码\examples_pc\examples\bit\bit.mak
文件 5782 2000-05-16 07:17 [中译本][算法精解:C语言描述]源代码\examples_pc\examples\bit\ex-1.c
目录 0 2014-09-09 19:25 [中译本][算法精解:C语言描述]源代码\examples_pc\examples\bitree\
文件 4758 2000-05-16 07:17 [中译本][算法精解:C语言描述]源代码\examples_pc\examples\bitree\bitree.mak
文件 11786 2000-05-16 07:17 [中译本][算法精解:C语言描述]源代码\examples_pc\examples\bitree\ex-1.c
文件 110 2000-05-16 07:17 [中译本][算法精解:C语言描述]源代码\examples_pc\examples\checker
目录 0 2014-09-09 19:25 [中译本][算法精解:C语言描述]源代码\examples_pc\examples\chtbl\
文件 4839 2000-05-16 07:17 [中译本][算法精解:C语言描述]源代码\examples_pc\examples\chtbl\chtbl.mak
文件 8649 2000-05-16 07:17 [中译本][算法精解:C语言描述]源代码\examples_pc\examples\chtbl\ex-1.c
目录 0 2014-09-09 19:25 [中译本][算法精解:C语言描述]源代码\examples_pc\examples\clist\
文件 4741 2000-05-16 07:17 [中译本][算法精解:C语言描述]源代码\examples_pc\examples\clist\clist.mak
文件 5363 2000-05-16 07:17 [中译本][算法精解:C语言描述]源代码\examples_pc\examples\clist\ex-1.c
文件 3535 2000-05-16 07:17 [中译本][算法精解:C语言描述]源代码\examples_pc\examples\clist\ex-2.c
文件 4829 2000-05-16 07:17 [中译本][算法精解:C语言描述]源代码\examples_pc\examples\clist\page.mak
目录 0 2014-09-09 19:25 [中译本][算法精解:C语言描述]源代码\examples_pc\examples\compress\
文件 5115 2000-05-16 07:17 [中译本][算法精解:C语言描述]源代码\examples_pc\examples\compress\compress.mak
文件 6001 2000-05-16 07:17 [中译本][算法精解:C语言描述]源代码\examples_pc\examples\compress\ex-1.c
文件 5983 2000-05-16 07:17 [中译本][算法精解:C语言描述]源代码\examples_pc\examples\compress\sample.txt
目录 0 2014-09-09 19:25 [中译本][算法精解:C语言描述]源代码\examples_pc\examples\dlist\
文件 4746 2000-05-16 07:17 [中译本][算法精解:C语言描述]源代码\examples_pc\examples\dlist\dlist.mak
文件 6604 2000-05-16 07:17 [中译本][算法精解:C语言描述]源代码\examples_pc\examples\dlist\ex-1.c
目录 0 2014-09-09 19:25 [中译本][算法精解:C语言描述]源代码\examples_pc\examples\encrypt\
............此处省略347个文件信息
相关资源
- C语言编程常见问题解答.pdf
- 操作系统c语言模拟文件管理系统844
- C语言开发实战宝典
- C++中头文件与源文件的作用详解
- C语言代码高亮html输出工具
- 猜数字游戏 c语言代码
- C语言课程设计
- 数字电位器C语言程序
- CCS FFT c语言算法
- 使用C语言编写的病房管理系统
- 通信过程中的RS编译码程序(c语言)
- 计算机二级C语言上机填空,改错,编
- 用回溯法解决八皇后问题C语言实现
- 简易教务管理系统c语言开发文档
- 操作系统课设 读写者问题 c语言实现
- 小波变换算法 c语言版
- C流程图生成器,用C语言代码 生成C语
- 3des加密算法C语言实现
- 简单的C语言点对点聊天程序
- 单片机c语言源程序(51定时器 八个按
- 个人日常财务管理系统(C语言)
- c语言电子商务系统
- 小甲鱼C语言课件 源代码
- 将图片转换为C语言数组的程序
- C语言实现的一个内存泄漏检测程序
- DES加密算法C语言实现
- LINUX下命令行界面的C语言细胞游戏
- 用单片机控制蜂鸣器播放旋律程序(
- 学校超市选址问题(数据结构C语言版
- 电子时钟 有C语言程序,PROTEUS仿真图
评论
共有 条评论