搜索资源列表
Expreesion
- 一个表达式和一棵二叉树之间,存在着自然的对应关系。写一个程序,实现基于二叉树表示的算术表达式Expression的操作。 【基本要求】 【一】【必做部分】 假设算术表达式Expression内可以含有变量(a-z),常量(0-9)和二元运算符(+,-,*,/,^(乘幂))。实现以下操作: (1)ReadExpr(E)――以字符序列的形式输入语法正确的前缀表达式并构造表达式E。 (2)WriteExpr(E)――用带括号的中缀表达式输出表达式E。 (3)Assign(V,c
main
- 实现将一个表达式转成前缀,中缀和后缀的3种形式,并计算表达式的值,其中数字为浮点型-Achieve an expression is converted into prefix, infix, and suffix of the three kinds of forms, and calculate the value of the expression, in which figures are floating-point type
Assignment-2-final
- conversion between infix, prefix and postfix
biaodashiqiuzhi
- 通过该程序可以计算前缀、中缀和后缀表达式的值。-Through the program can calculate the prefix, infix and postfix expressions value.
2-6
- infix to prefix its a very good code for you
Expr
- 对数据结构中二叉树的理解,前缀、中缀、后缀的相互转换.-Binary tree data structure understanding, prefix, infix, suffix interchangeable.
ProExpr
- 实现表达式求值,表达式树绘制,前缀表达式转换中缀表达式,中缀表达式转换后缀表达式-To achieve expression evaluation, expression tree drawing, prefix expression conversion infix expression, the expression postfix conversion infix expression
DataStruct_expresion
- 实现把原表达式分别用中缀,后缀,前缀三个形式表达,并分别求值-Were used to achieve the original expression infix, suffix, prefix the three forms of expression, and were evaluated
shuzhizhuanhuan
- 表达式是数据运算的基本形式。人们的书写习惯是中缀式,如:11+22*(7-4)/3。中缀式的计算按运算符的优先级及括号优先的原则,相同级别从左到右进行计算。表达式还有后缀式(如:22 7 4 - * 3 / 11 +)和前缀式(如:+ 11 / * 22 – 7 4 3)。后缀表达式和前缀表达式中没有括号,给计算带来方便。如后缀式计算时按运算符出现的先后进行计算。本设计的主要任务是进行表达式形式的转换及不同形式的表达式计算。-Expression is the basic form of dat
infix_translation
- infix to postfix prefix
mix
- implementation of infix prefix transformation in c programming language
translate
- 本代码可以对一般的中缀式进行转化,转为前缀式,后缀式并分别对它们求值。该程序是在vs2010上调试通过的,而且只有源代码。-This code can in general infix style was transformed into a type prefix, postfix and evaluate them separately. The program is in vs2010 debugging through, and only the source code.