登录
首页 » C# » 1.程序的功能:遍历一个二叉树并输出。 2.输入输出的要求:输入可以是单个数字,也可以是单个字符,以0结束。二叉树的遍历方式可以是前序,中序,后序,程序中用sw...

1.程序的功能:遍历一个二叉树并输出。 2.输入输出的要求:输入可以是单个数字,也可以是单个字符,以0结束。二叉树的遍历方式可以是前序,中序,后序,程序中用sw...

于 2022-05-14 发布 文件大小:855.00 B
0 78
下载积分: 2 下载次数: 1

代码说明:

1.程序的功能:遍历一个二叉树并输出。 2.输入输出的要求:输入可以是单个数字,也可以是单个字符,以0结束。二叉树的遍历方式可以是前序,中序,后序,程序中用switch函数进行开关选择-1. The functionality : a binary tree traversal and output. 2. The input and output : input can be a single figure, it could be a single character to the end of 0. The binary tree traversal mode can be pre-sequence, sequence after sequence, procedures used switch function for switching options

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

发表评论


0 个回复

  • LinkNode
    这个是C++编译的单链表,其中包括多种链表操作,是很好的学习资料。(This is a C++ compiler single linked list, which includes a variety of linked list operations, is a good learning materials.)
    2012-09-24 17:22:21下载
    积分:1
  • 51黑论坛_温控风扇改进PWM
    说明:  恒温控制单片机系统C程序,对系统的温度进行采集,然后进行PID运算后控制输出,保持恒温状态(thermostat control procedures SCM System C, the temperature of the system for the collection, then PID algorithms to control the output to maintain constant temperature condition)
    2020-06-25 18:20:02下载
    积分:1
  • CryptographyBench
    Program that runs AES/RSA algorithm multiple times for different input values and outputs their run times for benchmarking purposes. Written in Visual C#
    2010-03-16 00:35:17下载
    积分:1
  • GameFrame
    说明:  三维人物绘制,使用DirectX的ID3DXAnimationController接口实现三维人物绘制,其中包括骨骼蒙皮技术。注意:编译时一定要将Resource文件夹拷贝到Debug或Release目录下。(Drawing three-dimensional characters, the use of the DirectX interface ID3DXAnimationController drawing three-dimensional figures, including skinned mesh technology. Note: When the compiler must Resource folder are copied to the Debug or Release directory.)
    2008-12-08 20:26:32下载
    积分:1
  • CSharp-mschart-Demo
    C# 图标控件mschart使用详细说明书+详细例子(C# mschart Demo)
    2011-07-11 23:27:10下载
    积分:1
  • bm3d_src
    这是二维图像去噪算法,C++版本,需自行配置工程使用(Image Denoising Method)
    2017-06-28 14:11:34下载
    积分:1
  • LEAC-txt
    wsn经典路由算法,对于初学者很有借鉴意义(Classic WSN routing algorithm for beginners is of great significance)
    2012-09-26 21:22:47下载
    积分:1
  • UPFC-with-series-and-shunt-FACTS-controllers
    UPFC with series and shunt FACTS controllers
    2014-09-21 04:02:44下载
    积分:1
  • Uart_receive
    STM32F4系列串口接收函数,,程序已测试通过。(void USART1_IRQHandler(void) //串口1中断服务程序 { u8 Res #ifdef OS_TICKS_PER_SEC //如果时钟节拍数定义了,说明要使用ucosII了. OSIntEnter() #endif if(USART_GetITStatus(USART1, USART_IT_RXNE) != RESET) //接收中断(接收到的数据必须是0x0d 0x0a结尾) { Res =USART_ReceiveData(USART1) //(USART1->DR) //读取接收到的数据 if((USART_RX_STA&0x8000)==0)//接收未完成 { if(USART_RX_STA&0x4000)//接收到了0x0d { if(Res!=0x0a) USART_RX_STA=0 //接收错误,重新开始 else USART_RX_STA|=0x8000 //接收完成了 } else //还没收到0X0D { if(Res==0x0d)USART_RX_STA|=0x4000 else { USART_RX_BUF[USART_RX_STA&0X3FFF]=Res USART_RX_STA++ if(USART_RX_STA>(USART_REC_LEN-1))USART_RX_STA=0 //接收数据错误,重新开始接收 } } } } #ifdef OS_TICKS_PER_SEC //如果时钟节拍数定义了,说明要使用ucosII了. OSIntExit() #endif } )
    2016-01-21 17:04:30下载
    积分:1
  • Arduino与LabVIEW开发实战》配套代码
    本压缩包程序代码是《Arduino与LabVIEW开发实战》的配套程序代码,主要为第4、5、6三章节的项目代码。 《Arduino与LabVIEW开发实战》一书由沈金鑫编著,机械工业出版社出版,在淘宝、京东、当当、亚马逊均有售。(The code of this compression package is the program code of "Arduino and LabVIEW development real battle", which is mainly the fourth, fifth, sixth three section of the project code. The book "Arduino and LabVIEW developed real war" was written by Shen Jinxin, published by the machinery industry press, and sold in Taobao, Jingdong, Dangdang and Amason.)
    2018-03-11 13:01:59下载
    积分:1
  • 696518资源总数
  • 105315会员总数
  • 6今日下载