搜索资源列表
infix_prefix
- lisp编的算术表达式中缀转后缀程序,递归。-lisp series of the arithmetic expressions grade switch suffix procedures, recursive.
biaodashizhuanhuanhejisuan
- 这说一个转换表达式和计算表达式值的源代码,可以实现前缀中缀和后缀表达式的转换和计算。-err
stack
- 中缀表达式转化为后缀表达式并求值,代码很长,原创-Using Stack to convert the middle expression to end expression
test
- 中缀表达式转化后缀表达式,符号仅限于+、-、(、)、*几个符号。-Infix expression into a suffix expression
Arithmetic-expressions-are-evaluated
- 算术表达式求值是以我们常用的输入算术式的方式输入式子,然后将式子以中缀表达式存储,用栈进行括号匹配最后算出结果,是初学者很好的学习数据结构的例子-The arithmetic expression is evaluated based on our common input arithmetic way input formula, then the expression to infix expression storage with stack the brackets match last
calculator
- 计算器-逆波兰式,计算机计算中缀表达式时通常要将中缀转后缀,也就是逆波兰式-The calculator- Reverse Polish Notation, the computer calculation infix expression usually To infix turn suffix, which is the inverse Polish
Infix-to-suffix-arithmetic-expressio
- 输入一个中缀算术表达式S,S中的操作数为0到9,只含+,-和*,/运算,也可能含有括号(),运算符的计算顺序和实际四则运算的计算顺序相同. 输出与S等价的后缀表达式-Input an infix arithmetic expressions S, the S operand 0-9, containing only+,-,*,/operator may also contain brackets (), the same order as the operator of the calculat
Expression-evaluation
- 输入中缀算术表达式S,S中的操作数为非负整数,只含+,-和*,/运算,也可能含有括号(),运算符的计算顺序和实际四则运算的计算顺序相同. 输出表达式S的值. 注意除法运算只取整数部分,例如1/2=0. Input 输入有多组数据. 每组数据是一个算术表达式S,S的长度不超过100. 输入的S保证合法,而且不包含多余的空格或制表符. S的操作数、中间结果和最终结果都不会超过int类型的范围,也不会出现除数为0的情况. 输入以#号结束. Output 对于每个算术表达式S,输
main
- 这是用栈实现中缀表达式求值的简单实现,而且程序结构简单,且程序可读性很强-This is achieved with a stack infix expression evaluation is simple to implement, and program structure is simple, and the program very readable
3917_25
- 中缀表达式求值,输入一个表达式,以‘#’结尾,求解表达式,并打印操作数和操作符的进出栈情况-Infix expression evaluation
nifix-expression
- 将中缀表达式转换成后缀表达式,开发环境为Visual C-Convert infix expressions into postfix expression, in Visual C++