搜索资源列表
suffix-expression
- 这个算法能够帮助你成功的把中缀表达式转换成后缀表达式。-This algorithm can help you succeed in the infix expression into a suffix expression.
Infix--to-suffix-
- 中缀表达式转换为后缀表达式,并且求取表达式值,而且能够输出表达式-Infix expression convert to suffix expression
calculator
- 本程序实现了用中缀转后缀做表达式求值的算法支持函数运算 支持括号/函数嵌套 是数据结构课本中简单带括号的四则运算表达式求值的深入版-This program implements the algorithm supports infix to suffix expression evaluation function calculation support brackets/functions nested data structures textbook in simple In-dept
expression_calculate
- 数学表达式计算,采用中缀表达式输入,输出后缀表达式,并且可以采用中缀表达式计算,也可以采用后缀表达式计算-expression calculate
Expression-evaluation
- 任意输入数学运算表达式分别采用两种算法求值,分别是中缀表达式直接求值和修改成后缀表达式求值。表达式中包含的运算符有:加法+,减法-,乘法*,除法/,括号(),乘方#等运算符。运算符的优先级和结合性符合数学运算法则-Any input math expressions using two algorithms evaluated, infix expression directly evaluated and modified the postfix expression evaluation.
interCaltoLateCal
- 将算式的表达式从中缀变成后缀并且运算,支持普通的加减乘除的运算,不支持乘方。-calculate some problems, and make it change from inter contex to late contex. makes sense when it s simple calculation
main
- 利用栈的知识解决表达式求值问题,并将中缀表达式转化成后缀表达式求值-Stack knowledge to solve the problem of expression evaluation, and infix expression into postfix expression evaluator
infix-to-postfix-and-evaluated
- C++源码。输入中缀表达式,将其转成后缀表达式并求值。-C++ source. Enter the infix expression to turn them into postfix expression evaluation.
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
jisuanqi
- 现在就用这个方式再实现计算器.. 表达式一旦转换成后缀表达式再进行计算就简单的不得了.遇到一个符号就弹出离他最近的两个操作数然后进行这个操作符指定的运算就ok了...运算完成后压栈继续扫描,依次重复...等到操作符没有了.所有的运算也就结束了.结果也就出来了...不必再判断优先级的什么的了.括号什么的也一并省略..爽吧. 其实在中缀转后缀的时候就可以进行计算,表达式扫描完成,计算完成. -it is a txt file based on c++ language to
change
- 获取键盘输入一个中缀表达式,将它转换成后缀表达式,并输出结果-turn the infix expression to post expression
Infix-to-postfix
- 中缀转后缀表达式,编译原理实验。 递归下降分析法实现。-Infix to postfix expression, the compiler of principle experiment. Recursive descent analysis.
shujujiegou
- 1、 用户键盘输入一个中缀表达式,回车表示结束;如果该中缀表达式正确,那么在字符界面上输出其后缀表达式,其中后缀表达式中两相邻操作数之间利用空格隔开;如果不正确,在字符界面上输出表达式错误提示。 2、 四则运算表达式求值。将中缀表达式转换为后缀表达式,计算并输出结果。利用二叉树后序遍历来实现表达式的转换,同时使用栈来求解后缀表达式的值。 3、 测试数据 - a student can learn it so ,a hope we can share it together
compute
- 表达式求值:给定一个浮点数混合运算的中缀表达式,分别实现:转换成为后缀表达式,然后求值;直接对中缀表达式求值两种求值算法两种实现方法。表达式中包含的运算符:加法+,减法-,乘法*,除法/,括号(),乘方#等运算符。运算符的优先级和结合性符合数学运算法则。比如:命令行输入 (-2.0)+(1.0+2.0)*3.0-2.0#2.0回车 (1)中缀表达式输出: (-2.0)+ (1.0+2.0)*3.0-2.0#2.0=3.0 (2)后缀表达式输出: -2.0 1.0 2.0 + 3.
shizi
- 通过输入表达式用二叉树输出前缀式中缀式后缀式-Expression by entering the binary tree output prefix where prefix suffix style
suf_beta2
- 处理一段字符串表达式 进行四则运算,幂运算,双目运算,支持变量输入 实现将中缀表达式转换成后缀表达式并计算-Processing period of expression for four operations, exponentiation, eyes operations, support for variable input
IIInToPostn
- 中缀表达式转换成后缀表达式算法,,并求算术表达式的方法。可直接使用。 -Infix expression into postfix expression algorithm, and seek the method of arithmetic expressions. Can be used directly.
ICCaluaten
- 将中缀表达式转换为后缀表达式,并计算任意四则运算表达式的结果果,采用链表和队列实现,非文法和状态机,已通过测试。 -Infix convert an expression for the postfix expression, and calculate any four of expression is the result fruit, using linked lists and queues, non-grammar and state machines, has been test
IUnttitledd1n
- 将中缀表达式转化为后缀表达达式并求值,输出后缀表达式及值 -Infix expression conversion and evaluation to the suffix table Dada type, output postfix expression and the value of