搜索资源列表
stack
- 中缀表达式转化为后缀表达式并求值,代码很长,原创-Using Stack to convert the middle expression to end expression
postfix-expression-evaluation-
- 后缀表达式求值,将中缀表达式转换成后缀表达式,然后求值-Postfix expression evaluation infix expression into postfix expression and then evaluated
shujujiegou
- 1、 用户键盘输入一个中缀表达式,回车表示结束;如果该中缀表达式正确,那么在字符界面上输出其后缀表达式,其中后缀表达式中两相邻操作数之间利用空格隔开;如果不正确,在字符界面上输出表达式错误提示。 2、 四则运算表达式求值。将中缀表达式转换为后缀表达式,计算并输出结果。利用二叉树后序遍历来实现表达式的转换,同时使用栈来求解后缀表达式的值。 3、 测试数据 - a student can learn it so ,a hope we can share it together
IUnttitledd1n
- 将中缀表达式转化为后缀表达达式并求值,输出后缀表达式及值 -Infix expression conversion and evaluation to the suffix table Dada type, output postfix expression and the value of
2
- 实现算术表达式求值程序(栈的运用)输入中缀表达式,将其转换成后缀表达式-Realization arithmetic expression evaluator (application stack) Enter the infix expression, converting it into Postfix expression Enter the infix expression, converting it into Postfix expression
stack
- 中缀转后缀并求值-In the infix turn suffix and evaluated
poj-5346-
- poj 5346题,四则运算表达式求值的实现,用栈和队列实现中缀转后缀后计算,含解题报告与源码-poj 5346 title, the realization of the four arithmetic expression evaluation calculated decorated in a stack and queue implementations turn suffix containing the report and the source of problem-solving
expression_value
- 将中缀表达式转化成后缀表达式并求值(数据结构与算法)-Infix expression into postfix expression evaluator (data structures and algorithms)
CPP_ExpressionConvert
- 利用栈实现表达式转换(中缀到后缀)并求值-Stack expressions conversion (infix to postfix) and evaluated
zhongzhuihouzhuizhuanhuan
- 演示用算符优先法对算术表达式求值的过程。 (1)从键盘输入任意一个语法正确的(中缀)表达式,显示并保存该表达式。 (2)利用栈结构,把上述(中缀)表达式转换成后缀表达式,并显示栈的状态变化过程和所得到的后缀表达式。 (3)利用栈结构,对上述后缀表达式进行求值,并显示栈的状态变化过程和最终结果。 -Demonstration by operator precedence for arithmetic expression evaluation process. (1) fro
calculator
- 表达式• 表达式树• 表达式求值 输入一个中缀表达式及中缀表达式中字母代表的数值,包含+ - * / 运算符,(),首先转成后缀表达式,然后画出表达式树,最后输出表达式求出的值-Expression expression tree • expression evaluation input the values of the letters on behalf of an infix expression infix express
expression-transferring
- 中缀表达式转换为后缀表达式并进行求值,有界面和按钮的完整程序-Infix expression into a postfix expression and evaluation
24-point-embedded-simple-calculator
- 24点内简易计算器的实现。中缀表达式变为后缀表达式然后求值-Simple calculator within the 24-point implementation. Infix expression into postfix expression is then evaluated
expression
- 表达式求值利用中缀表达式翻译成后缀表达式进行求值!-Expression is evaluated using the infix expression translated into postfix expression is evaluated!
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.
Fix
- 实现表达式求值,实现中缀到后缀的转换并求值(利用栈)-infix to suffix
expvalue
- 该程序主要实现了表达式求值,将中缀表达式转为后缀表达式。-The program achieved a major expression evaluation, the infix expression into postfix expression.
infix
- c语言 中缀、后缀 算术表达式求值用栈实现-c language, infix, postfix arithmetic expression evaluates to achieve with Stack
vc
- 中缀表达式变换为后缀表达式 后缀表达式求值-Infix expression to postfix expression conversion suffix expression evaluation
lab1-Calculator
- 四则运算求值 求表达式的值的基本思想就是 后缀表达式求值以及如何实现 Knuth 将此概括为三个步骤: 对中缀表达式进行语法分析 中缀表达式到后缀表达式的转换 对后缀表达式求值 思路:首先利用栈A把四则运算的字符串从中序表达式转换成后序表达式;然后对后序表达式,如果是数字则保存到另一个栈B中,如果是运算符(+,-,*,/)就从栈B中依次获取栈顶两个操作数进行运算,运算结果再压栈B,如此反复,最终栈B中最后的值就是运算结果。-Cacluate t