搜索资源列表
PostFixCompute
- postfixComputer, Calculate the postfix expression, such as 45+,which means 4+5,and the result is 9. The program is very applied.
expression
- 利用栈完成算术表达式求值:从键盘或文件中输入算术表达式,计算其结果并显示。要求处理过程为:(1)转换为后缀表达式并输出;(2)对后缀表达式求值并输出。 输入的表达式中可以有整数、实数、括号,运算符包括+、-、*、/、#(代表单目负)。可以多次输入不同的表达式进行计算,直到用户选择“退出”。栈的基本操作可以自己实现,也可以使用系统提供的STL实现。 -Done using an arithmetic expression evaluation stack: file input fr
postfix
- 使用者輸入後序的數學算式後,可以計算出其值-After the user input sequence of mathematical formula, you can calculate the value
POSTFIX
- a simple wy to calculate postfix in c-a simple wy to calculate postfix in c++
biaodashiqiuzhi
- 通过该程序可以计算前缀、中缀和后缀表达式的值。-Through the program can calculate the prefix, infix and postfix expressions value.
zhongzhui
- 本程序能将运算式从中缀表达式转换为后缀表达式,并计算运算式的值。暂时仅可计算正整数之间的运算。暂时无法处理负数,要计算负数请用 (0-n) 的形式。输入仅含数字0~9及+、-、*、/、(、)的式子,并在结尾处加 # 字作为结束符。-This program can convert an expression from infix expressions to postfix expressions, and calculate the expression value. Calculate th
exchange
- (1)实现中缀表达式转换成后缀表达式 (2)计算表达式的值 -(1) implementation infix expression into postfix expression (2) Calculate the value of the expression
PPT4
- 编写程序实现将中缀算术表达式转为后缀表达式,并利用栈和后缀表达式计算表达式的值-Programming to achieve infix arithmetic expressions to postfix expressions, postfix expression using stack and calculate the value of the expression
Infix_expression_into_postfix_expression_calculati
- 利用栈将中缀表达式转化成后缀表达式并计算-Using the stack to postfix infix expression into an expression and calculate
main
- 表达式求值*** 将中缀表达式转换为后缀表达式。假设输入的算法表达式的运算符只有“+、-、×、/、(、)”这几种。 要求:用栈完成;首先要判断输入的表达式括号是否配对,在正确表达式的基础上转换为后缀表达式,然后计算结果。 -*** Expression evaluation will be converted to postfix infix expression expression. Assume that the input of the algorithm expressio
Stack
- this the lab that shows how to convert the infix number to postfix and also calculate them-this is the lab that shows how to convert the infix number to postfix and also calculate them
DS02
- 将两个带头结点的有序循环链表合成一个带头结点的有序循环链表。 实验内容:使用键盘输入表达式,计算表达式的值并输出;将表达式转化成后缀表达式输出,利用后缀表达式求表达式的值并输出 -The two take the lead in the ordered circular list node synthesis of a lead in the ordered circular list node. Experiment: use the keyboard to enter an expr
DS2
- 2、 表达式求值 问题描述:使用键盘输入表达式,计算表达式的值并输出;将表达式转化成后缀表达式输出,利用后缀表达式求表达式的值并输出。 -2, the expression evaluation problem descr iption: Use the keypad to enter an expression to calculate the value of the expression and output the expression into postfix express
qiuzhi
- 2、 表达式求值 问题描述:使用键盘输入表达式,计算表达式的值并输出;将表达式转化成后缀表达式输出,利用后缀表达式求表达式的值并输出。 -2, the expression evaluation problem descr iption: Use the keypad to enter an expression to calculate the value of the expression and output the expression into postfix express
zhan
- 栈的中缀表达式转为后缀表达式,并计算后缀表达式-Stack infix expression into postfix expression, and calculate the suffix expressions
biaodashi
- 有中缀表达式转换成后缀表达式并计算结果 主要是数据结构上的一些算法以后又需要请联系我数据结构所有算法-With infix expressions into postfix and calculate the data structure is mainly the result of some of the algorithms later I need to contact all of the data structure algorithms
zhong_zhuan_hou_calc
- 输入中缀表达式,转换为后缀表达式,并计算出结果-Input infix expression into postfix expression, and calculate the results
formula-for-calculating--true-value
- 计算命题演算公式的真值,所谓命题演算公式是指由逻辑变量(其值为TRUE或FALSE)和逻辑运算符∧(AND)、∨(OR)和┐(NOT)按一定规则所组成的公式(蕴含之类的运算可以用∧、∨和┐来表示)。公式运算的先后顺序为┐、∧、∨,而括号()可以改变优先次序。已知一个命题演算公式及各变量的值,要求设计一个程序来计算公式的真值。 要求: (1)利用二叉树来计算公式的真值。首先利用堆栈将中缀形式的公式变为后缀形式;然后根据后缀形式,从叶结点开始构造相应的二叉树;最后按后序遍历该树,求各子树之值
calculate
- 最简单的计算器,可以计算+,-,*,/以及括号的优先级,采用后缀表达式的方式。-Simple calculator, you can calculate the+,-,*, /, and parentheses priority postfix expression.
PostFix
- 定义栈,通过入栈出栈的操作完成后缀表达式求值。-to calculate the postfix expression