登录
首页 » 数据结构 » shi.c 说明:本程序用于层序遍历二叉树.程序开始时先由用户先根序输入二叉树各结点值,对于空结点输入宏ENDTAG所对的值(暂定为整数0). 建立好二...

shi.c 说明:本程序用于层序遍历二叉树.程序开始时先由用户先根序输入二叉树各结点值,对于空结点输入宏ENDTAG所对的值(暂定为整数0). 建立好二...

于 2022-03-09 发布 文件大小:12.38 kB
0 216
下载积分: 2 下载次数: 1

代码说明:

shi.c 说明:本程序用于层序遍历二叉树.程序开始时先由用户先根序输入二叉树各结点值,对于空结点输入宏ENDTAG所对的值(暂定为整数0). 建立好二叉树后即可自动进行遍历依次层序输出各结点的值. ----Author:zhg 2006.11.26 E-mail: wudazhg@163.com 仅供参考学习之用,所有权保留-shi.c : The procedures for the binary tree traversal sequence. procedures at the beginning of each user input first-sequence binary tree nodes value, for the importation of empty node by right-ENDTAG value (tentatively scheduled for integer 0). After a good binary tree can be automatically traversal sequence followed output of the node values.---- Author : zhg 2006.11.26 E-mail : wudazhg@163.com for reference purposes only learning, retention of title

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • EHLIB 库
    EhLib6.1包含组件和类Borland的Delphi7,9,2005年,2006年,CodeGear的Delphi2007中,CodeGear RAD Studio 2009中,Embarcadero公司RAD Studio 2010中,XE,X2和RAD Studio的XE3,意在增加数据库应用程序的客户端部分的能力在与应用程序的用户交互的一部分。DBGrid的他提供DBGrid的所有功能,并增加了一些新的特点如下:允许选择记录,列和矩形区域。特殊的头衔,可以对应多个/所有列。页脚即能显示金额/数量/其他字段值。自动调整列设置网格宽度等于客户端的宽度。有能力改变行和标题的高度。
    2023-05-09 23:20:04下载
    积分:1
  • KMP算法
    解决了BruteForce算法效率低下的问题,并且在该基础上完成了子串重复时的性能优化
    2023-05-15 20:00:02下载
    积分:1
  • 求单源点最短路径算法,对一个途中各个节点和权值的设置,找出从起始点倒终结点的一条最短路径,不能够输出路径...
    求单源点最短路径算法,对一个途中各个节点和权值的设置,找出从起始点倒终结点的一条最短路径,不能够输出路径
    2022-10-06 18:00:02下载
    积分:1
  • 图的相关操作:建立图,图的遍历,查找元素,删除元素等
    图的相关操作:建立图,图的遍历,查找元素,删除元素等-Map-related steps: the establishment of map, graph traversal, find elements, delete elements, etc.
    2022-01-22 04:45:46下载
    积分:1
  • 相对于实验一,新增了2个类。 Class Listing vector<Advertisement*>. Class Group vect...
    相对于实验一,新增了2个类。 Class Listing vector. Class Group vector. 使用到了向量。增强了大家对STL向量容器,以及实现所给的声明函数。 压缩包里面有代码,指导书,以及Apache服务器。-Prerequisites: Students should have mastered the following prerequisite skills. C++ Class Specification- Produce C++ class implementations Standard Template Library- Knowledge of the STL, particularly sequential containers and iterators Goals: This assignment is designed to reinforce your understanding and use of the STL vector container and the Standard Template Library. Outcomes: Students successfully completing this assignment would master the following outcomes. Produce C++ class implementations given class declarations
    2022-07-21 10:24:05下载
    积分:1
  • 一个生成树的源码,不是很复杂,但是用什么来支付的…
    一个生成树的源码,不是很复杂,但是用什么来支付数据结构的操作也可以
    2022-11-14 17:50:03下载
    积分:1
  • sqlite_client
    sqlite当前使用较方便的桌面数据库。如果使用远程访问sqlite数据库。该文件是sqlite客户端程序的简单测试程序,使用netSqlite的接口。配合sqlie服务器代码,能够访问远程服务器上的sqlite数据。
    2022-05-31 08:02:54下载
    积分:1
  • connection/object pool. A program may require a IMAP connection po ol and LDAP c...
    Many applications use connection/object pool. A program may require a IMAP connection pool and LDAP connection pool. One could easily implement a IMAP connection pool, then take the existing code and implement a LDAP connection pool. The program grows, and now there is a need for a pool of threads. So just take the IMAP connection pool and convert that to a pool of threads (Copy, paste, find, replace????). Need to make some changes to the pool implementation? Not a very easy task, since the code has been duplicated in many places. Re-inventing source code is not an intelligent approach in an object oriented environment which encourages re-usability. It seems to make more sense to implement a pool that can contain any arbitrary type rather than duplicating code. How does one do that? The answer is to use type parameterization, more commonly referred to as templates.-connection/object pool. A program may require a IMAP connection po ol and LDAP connection pool. One could easily im plemen
    2023-05-15 08:25:03下载
    积分:1
  • 数据结构算法及其应用
    数据结构算法与应用-C__语言描述,数据结构和算法-Data structures algorithms and application-C__ language to describe the
    2022-02-27 05:17:58下载
    积分:1
  • 备份数据库(c#+mssql) 注意: Server2000必须安装补丁3,数据库文件备份在 XX:Program FilesMicrosoft SQL Ser...
    备份数据库(c#+mssql) 注意: Server2000必须安装补丁3,数据库文件备份在 XX:Program FilesMicrosoft SQL ServerMSSQLBACKUP-backup database (# mssql c) Note : Server2000 three patches to be installed, the database backup file XX : Program Files Microsoft SQL Server MSSQL Backup
    2022-07-25 22:52:12下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载