文件名称:TExpression
- 所属分类:
- 数据结构常用算法
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 192kb
- 下载次数:
- 0次
- 提 供 者:
- 小*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
下载
别用迅雷、360浏览器下载。
如迅雷强制弹出,可右键点击选“另存为”。
失败请重下,重下不扣分。
如迅雷强制弹出,可右键点击选“另存为”。
失败请重下,重下不扣分。
介绍说明--下载内容均来自于网络,请自行研究使用
题目:表达式类型的实现
用树来实现前缀算术表达式到正常表达式的转换,并且通过变量赋值算出结果。
测试数据:
(1)分别输入0;a -91 +a*bc +*5~x2*8x
+++*3~x3*2~x2x并输出。
(2)每当输入一个表达式后,对其中的变量赋值,然后对表达式求值。
-Topic: type of expression using the tree to achieve the prefix arithmetic expression conversion to normal expression, and the results calculated through the variable assignment. Test data: (1), respectively, enter 0 a-91+ A* bc+* 5 ~ x2* 8x+++* 3 ~ x3* 2 ~ x2x and output. (2) Whenever the importation of an expression after the assignment of these variables, and then expression is evaluated.相关搜索: 表达式类型的实现
表达式求值
用树来实现前缀算术表达式到正常表达式的转换,并且通过变量赋值算出结果。
测试数据:
(1)分别输入0;a -91 +a*bc +*5~x2*8x
+++*3~x3*2~x2x并输出。
(2)每当输入一个表达式后,对其中的变量赋值,然后对表达式求值。
-Topic: type of expression using the tree to achieve the prefix arithmetic expression conversion to normal expression, and the results calculated through the variable assignment. Test data: (1), respectively, enter 0 a-91+ A* bc+* 5 ~ x2* 8x+++* 3 ~ x3* 2 ~ x2x and output. (2) Whenever the importation of an expression after the assignment of these variables, and then expression is evaluated.相关搜索: 表达式类型的实现
表达式求值
(系统自动生成,下载前可以参看下载内容)
下载文件列表
readme.txt
TExpression
...........\Debug
...........\expressionmain.cpp
...........\TExpression.dsp
...........\TExpression.dsw
...........\TExpression.ncb
...........\TExpression.opt
...........\TExpression.plg
TExpression
...........\Debug
...........\expressionmain.cpp
...........\TExpression.dsp
...........\TExpression.dsw
...........\TExpression.ncb
...........\TExpression.opt
...........\TExpression.plg