四则混合运算表达式树处理
所属分类:数据结构
开发工具:C/C++
文件大小:926KB
下载次数:2
上传日期:2018-05-15 11:13:10
上 传 者:
doglast22
说明: [基本内容]
(1) 以逆波兰表示输入的算术表达式(假设每个操作数都以单字符字母表示,即操作数的标
识符为一个字母);
(2) 初始化表达式树;
(3) 生成表达式树;
(4) 输出表达式树的各种遍历的结果;
(5) 打印表达式树;
(6) 删除表达式树;
(7) 设计相应的“菜单”,通过键盘输入选择,完成实验要求的测试。
([basic content]
(1) an arithmetic expression that is input in inverse Poland (assuming that every operand is represented by a single character letter, that is, the number of operands.
An identifier is an alphabet;
(2) initialization of the expression tree;
(3) to generate the expression tree;
(4) output the traversal results of the expression tree.
(5) print the expression tree;
(6) delete the expression tree;
(7) design the corresponding "menu" and select the keyboard input to complete the test.)
文件列表:
四则混合运算表达式树处理.pdf (1377682, 2018-05-15)
近期下载者:
相关文件:
收藏者: