搜索资源列表
Cpp2
- 程序是把中缀表达式转化成后缀表达式,并通过后缀表达式进行表达式的计算,通过栈试验代码的程序。
mingtiyansuan
- (1)利用二叉树来计算公式的真值。首先利用堆栈将中缀形式的公式变为后缀形式;然后根据后缀形式,从叶结点开始构造相应的二叉树;最后按后序遍历该树,求各子树之值,即每到达一个结点,其子树之值已经计算出来,当到达根结点时,求得的值就是公式之真值。 (2)逻辑变元的标识符不限于单字母,而可以是任意长的字母数字串。 (3)根据用户的要求显示表达式的真值表。
middlenumberchanggetolatter
- 中缀表达式转变为后缀表达式的代码,并且求出值返回
expression
- 用C语言版 编写一个表达式求值演算的 算法程序 要求:使用栈,需要将算法的过程显示出来 ,输入一连串算术值 如:2*(3+2)# 然后 显示出算术过程 和结果!先将输入的中缀 转换后缀 再求值 程序中使用两个栈! 可以在VC++ 中运行- A linear epitope recognized by both MAbs,c2410 and WH303,which has strong specificity of CSFV,has been precisely defined and l
biaodashiqiuzhi
- c++数据结构实习 中缀表达式求值 输入一个中缀表达式 输出转换成的后缀表达式和结果-c++ data structure internships infix expression evaluation input an infix expressions output into the suffix expressions and results
javaparase
- 一个java源代码包,其中包括快速排序,队列和后缀表达式的计算,XML生成程序,为一个解析XML文件程序做了书价格的计算,是后缀表达式计算,中缀转后缀-A java source code package, including the quick sort, queue and the suffix for calculating expressions, XML generation process, a procedure to resolve XML document has done a
EXP
- 输入中缀 表达式 可以输出后缀表达式 编译原理-Input infix expression compiler can output suffix expressions Principle
cpp..
- 转化实现中缀转后缀 判断表达式的输入 VC6.0环境-Transformation to achieve infix expression to determine the input suffix VC6.0 environment
calc
- 自己写的一个24点小游戏,其中用栈实现了中缀和后缀表达式求值,可以加以借鉴-Himself wrote a 24-point game, which used a stack infix and suffix expression evaluation can be draw
1
- 将中缀表达式转化为后缀,后缀表达式的计算,函数oper首先检查它的第一个参数是不是一个合法的运算符,如果是,则用另外两个参数来决定运算结果-Infix expression will be transformed into suffix, suffix calculated expression, function oper it first checks the first parameter is not a legitimate operator, if it is, then with
4
- 中缀表达式转化成后缀表达式并求值的算法,将中缀表达式转换为后缀表达式,顺利转换返回true,若转换过程中发现中缀表达式非法则返回false-Infix suffix expressions into expressions and evaluation algorithms, will be converted to infix expressions suffix expression, a smooth transition to return to true, if the convers
biaodashizhuanhuanhejisuan
- 这说一个转换表达式和计算表达式值的源代码,可以实现前缀中缀和后缀表达式的转换和计算。-err
qianzhuizhuanerchashu
- 前缀表达式转换成二叉树的代码,通过转换成二叉树可以轻松实现转换成后缀,前缀,中缀形式。-Prefix expression into a binary tree code, through the binary tree can be converted easily into a suffix, prefix, infix form.
BDS
- 编写完整程序,将中缀表达式翻译成后缀表达式。 要求: 表达式由操作数(变量)、操作(运算符)以及小括弧“(”和“)”组成,其中: • 操作包括算术运算、关系运算和逻辑运算三类; • 操作数应能够识别但个字符或由字母和数字任意多个字符构成; • 能够识别出简单的错误,如括弧不匹配。 输入:中缀表达式,80个字符以内 输出:转换后的后缀表达式 -The preparation of a complete procedure inf
biaodashijisuan
- 表达式计算,用栈实现,可实现中缀转后缀,表达式值的计算等功能-Expression, the use of the stack to achieve, can be achieved in up to suffix, expression value calculation and other functions
biaodashi
- 将中缀表达式转换成后缀表达式后,并计算结果-Infix expression will be converted into suffix after expression, and calculated results
23020062203776
- 将简单中缀算术表达式变换成: (1)后缀形式 (2)生成书上描述的抽象堆栈机的代码 (3)对常量算术表达式,输出结果 -The simple arithmetic infix expressions transform into: (1) suffix form (2) to generate an abstract descr iption of the book stack machine code (3) arithmetic constant expression, th
infixcaculator
- 根据用户输入的中缀表达式,将其转化为后缀表达式并求值。-Based on user input infix expression into a suffix of its expression and evaluated.
main
- 通过此源代码,能够实现如下功能:输入中缀表达式,实现后缀表达式的输出,然后求值-Through this source code, be able to achieve the following functions: Input infix expression, the expression of the output suffix implementation, then evaluation
Expression
- 把中缀表达式转换为后缀表达后,求表达式的结果。用到栈和队列-Infix expression to convert the expression of suffix, and the results of expressions. Used stack and queue