当前位置:网站首页>Animation demonstration of binary tree implemented by MFC
Animation demonstration of binary tree implemented by MFC
2022-07-23 09:38:00 【_ Programming_】
MFC Realize the animation demonstration of binary tree
Problem description
Binary tree storage and animation demonstration of basic operations .
Design a test program to show the animation demonstration of the basic operation of binary tree and the corresponding actual operation results . The demo program runs interactively , And visual display .
The basic requirements
- Construct trees ( The number of layers is not less than 4 layer , The number of nodes in each layer of the root node is greater than 2 individual ), Realize the first root traversal of the tree 、 Post root traversal and hierarchical traversal ;
- Build a visual interface , Animate the operation process ;
- Realize the synchronization of pseudo code and animation , The demo program should be interactive , It requires the algorithm execution and the synchronous dynamic change of the storage structure ;
Functional requirements
- Interface design
a) The interface requires interaction , It requires a graphical interface rather than a simple console application , The interface shall be beautiful 、 Reasonable layout , In line with the user's habits ;
b) For each operation , You can choose from the interface ;
c) Visualization system (MFC or QT) - The basic operation implementation requires at least the following operations :
Insert 、 Delete 、 Inquire about 、 The first sequence traversal 、 In the sequence traversal 、 Subsequent traversal 、 Level traversal 、 Seek depth 、 Find the maximum width 、 Count the number of leaf nodes of binary tree 、 Find the ancestor node ; - Randomly generated data \ The user manually enters the data used in the operation , It can be randomly generated by the computer or manually entered by the user in the designed interface ;
- The demo
a) For the operations mentioned above , It is required to animate the internal structure changes during its operation , Animation can be carried out in steps , Can be carried out as a whole , Or switch between the two ;
b) Pseudo code follows the animation process . That is, for the selected operation , It is required to display pseudo code in the interface area , Highlight the code required for the current running step as the animation progresses .
Program display

Source download
link :https://pan.baidu.com/s/1JJs9vbZahUCB6cQvXLgAVg?pwd=1111
Extraction code :1111
边栏推荐
- PNA肽核酸修饰多肽Suc-Ala-Ala-pNA|2-Ala-Ala-LeupNA|Ac-Phe-Gly-PNA
- I want to learn financial management in digging money. Is it safe to open an account?
- Emmet 语法简结
- 力扣(LeetCode)203. 移除链表元素(2022.07.22)
- Leetcode 110. 平衡二叉树
- wallys/WiFi6 MiniPCIe Module 2T2R2×2.4GHz 2x5GHz MT7915 MT7975
- Advantages of BGP machine room
- QML(17)——读写txt文件
- 作物叶片病害识别系统
- canal 03 (共8章)
猜你喜欢

QML (17) -- read and write txt files

微信小程序设置背景图片不显示问题解决方法

AIRIOT答疑第5期|如何使用低代码业务流引擎?

EasyV半年度“官方网站热门内容”排行榜盘点

程序环境和预处理

复盘:pearson皮尔森相关系数和spearman斯皮尔曼相关系数的区别

pna肽核酸定制服务|肽核酸钳制-PCR(PNA-PCR)|cGAPPNA多价肽核酸配体

Solution of equipment inspection in sewage treatment plant

网站建设开始前要考虑的7个问题

肽核酸PNA规格信息|大豆过氧化酶标记肽核酸(Peptide nucleic acid,PNA)
随机推荐
Go exceed API source code reading (V) -- close (), newsheet ()
【HLS】流水线仿真之排队函数的调用
广发期货可以开户吗?安全吗
一文带你了解如何用SQL处理周报数据
pna肽核酸定制服务|肽核酸钳制-PCR(PNA-PCR)|cGAPPNA多价肽核酸配体
Transformer summary
Easyv semi annual ranking of "popular content on official websites"
作物叶片病害识别系统
正则表达式
不同类型的字段、集合list/set/map、对象如何判空null
virtualbox NAT网络模式配置
Solution of equipment inspection in sewage treatment plant
1059 Prime Factors
Sentry的安装、配置、使用
Vscode连接服务器,密码正确,但是一直连接不上的解决办法
1057 Stack
Déterminer s'il s'agit d'un type vide
1058 A+B in Hogwarts
Tidb 3.0安装
stb_image代替其他库