-
通用二叉搜索树,包含的算法有:输出广度优先遍历、前序、中序、后序遍历结果,按树的形状打印树,统计总节点数,统计叶子节点数,统计右节点数,计算树的高度,删除所有叶...
通用二叉搜索树,包含的算法有:输出广度优先遍历、前序、中序、后序遍历结果,按树的形状打印树,统计总节点数,统计叶子节点数,统计右节点数,计算树的高度,删除所有叶子节点,插入节点,查找节点,删除节点,由前序遍历结果和中序遍历结果生成树,由后序遍历结果和中序遍历结果生成树,检查该树是否平衡和完全平衡。-generic binary search tree contains the algorithm are : output breadth- first traversal, the former sequence, sequence, after the preorder, the shape of the tree by tree print, the total number of nodes statistics, statistics leaf nodes, the nodes to the right statistics to calculate tree height, remove all leaf nodes, insert nodes, the nodes you delete nodes from the former preorder results and the results of Spanning Tree preorder, After the preorder from the results and the results preorder spanning tree, check whether the tree balanced and complete balance.
- 2022-06-28 10:58:58下载
- 积分:1
-
Visual C# 使用键盘控制窗体的移动
Visual C#使用键盘控制窗体的移动,创建窗体对象,设置窗体接收按键事件,定义一个标识窗体的变量,判断按键类型,判断后关闭本窗体。
private void Form1_Load(object sender, EventArgs e)
{
Frm_Main form1 = new Frm_Main();//创建窗体对象
form1.KeyPreview = true;//设置窗体接收按键事件
}
private void Form1_KeyDown(object sender, KeyEventArgs e)
{
Point point = this.Location;//定义一个标识窗体的变量
switch (e.KeyData)//判断按键类型
{
case Keys.Up://当按键为上方向键时
point.Y -= 2;
break;
case Keys.Down://当按键为下方向键时
point.Y += 2;
break;
case Keys.Right://当按键为右方向键时
point.X += 2;
break;
case Keys.Left://当按键为左方向键时
point.X -= 2;
break;
case Keys.Escape://当按键为Esc键时
this.Close();//关闭本窗体
break;
default: break;
}
this.Location = point;
}
- 2022-03-13 23:48:13下载
- 积分:1
-
这里我上传了三个使用dos的用于扫描,操作远程进程的小工具供大家使用。...
这里我上传了三个使用dos的用于扫描,操作远程进程的小工具供大家使用。-Here, I uploaded three dos for the use of scanning, remote operation of the process we use for small tools.
- 2023-05-29 09:50:03下载
- 积分:1
-
good cms for web sites
using php,mysql
good cms for web sites
using php,mysql
- 2022-05-07 11:55:41下载
- 积分:1
-
在对话框程序中插入DialogBar!希望对各位做界面方面有帮助! 希望对各位做界面方面有帮助!...
在对话框程序中插入DialogBar!希望对各位做界面方面有帮助! 希望对各位做界面方面有帮助!-in the dialog box procedure to insert DialogBar! Do you want to help interface ! Do you want to help interface!
- 2022-04-09 14:39:36下载
- 积分:1
-
有线传输系统的显示原理图和PCB,请有用的大家来下载,谢谢。...
有线传输系统的显示原理图和PCB,请有用的大家来下载,谢谢。-Cable transmission systems display schematics and PCB, please download useful to you, thank you.
- 2023-06-27 13:15:03下载
- 积分:1
-
重载和递归
应用背景用爪哇语言实现基本编程关键技术超载,载荷,在载荷,,,,,,&;草书,递归,rekursif
- 2022-06-02 21:40:17下载
- 积分:1
-
prepared using Visual C procedures. MFC suitable for beginners learning from the...
用VISUAL C++编写的程序.适合初学MFC的人学习.-prepared using Visual C procedures. MFC suitable for beginners learning from the people.
- 2022-11-18 19:25:03下载
- 积分:1
-
simple towers of the water supply system simulation
简易水塔供水系统仿真
- 2022-03-25 10:58:38下载
- 积分:1
-
第六章实验二(1)本程序为魔方阵.C
可用来求出所指定大小的魔方...
第六章实验二(1)本程序为魔方阵.C
可用来求出所指定大小的魔方-sixth chapter two experiments (1) the procedure for the Demon phalanx. C can be used to specified sizes calculated by the Cube
- 2023-02-18 06:05:04下载
- 积分:1