搜索资源列表
test
- 中缀表达式转化后缀表达式,符号仅限于+、-、(、)、*几个符号。-Infix expression into a suffix expression
InfixExpression
- 一个控制台中缀表达值求值程序,相当于一个科学计算器。只支持四则运算,不能纠错。数据结构必备。-A console infix expression value of the evaluation procedure, the equivalent of a scientific calculator. Only supports four operations, not error correction. Data structure is essential.
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
stack
- 中缀多项式计算器,能算浮点数的多位运算,界面友好,有一定容错能力-Polynomial calculator infix can count the floating-point number operation, friendly interface, some fault tolerance
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
zuoye5
- 这是用栈实现的运算式中缀转后缀与后缀转中缀的程序,里面详细标注了每个步骤。-This is achieved with a stack infix expressions turn suffix and suffix turn infix procedures, which detail marked each step.
nifix-expression
- 将中缀表达式转换成后缀表达式,开发环境为Visual C-Convert infix expressions into postfix expression, in Visual C++