搜索资源列表
简单的表达式求值.rar
- 比Windows自带的高级一点的计算器,能将整个表达式输入,然后求值。 这个程序要求读者具备编译原理的一些知识。
huahua
- 逆波兰式的求解,输入表达式,然后转化成逆波兰式,当输入字母的值,可求出表达式的值.-inverse Polish Solution, the importation of expression, and then into reverse Polish, when the value of imported alphabet, can be derived the value of the expression.
计03_6_27张石
- 中缀表达式向后缀表达式的转化,并且具有求值的功能,有出错显示.-expression which is made up of the suffix to the conversion formula, and has evaluates the function, wrong show.
E51_0230
- 一:需求分析 1.本程序需掌握树和二叉树的概念及工作原理,运用其原理及概念完成实验.。 2.问题描述: 一个逻辑表达式如果对于其变元的任一种取值都为真,则称为重言式;反之,如果对于其变元的任一种取值都为假,则称为矛盾式;然而,更多的情况下,既非重言式,也非矛盾式。试写一程序,通过真值表判断一个逻辑表达式属于那一类。 3.基本要求: (1)逻辑表达式从终端输入,长度不超过一行。逻辑运算符包括“|”,“&”和“~”, 分别表示或、与和非,运算优先程度递增,但可以有括号改变,
biaodashiqiuzhi
- 一个算术表达式是由操作数(operand)、运算符(operator)和界限符(delimiter)组成的。假设操作数是正整数,运算符只含加减乘除等四种运算符,界限符有左右括号和表达式起始、结束符“#”,如:#(7+15)*(23-28/4)#。引入表达式起始、结束符是为了方便。编程利用“算符优先法”求算术表达式的值。用C语言实现
c
- 表达式求值
bdsqz3
- 这是一个表达式求值的C++源代码,希望对有需要的人有所帮助.里面写的很详细.
operator
- 利用c++自带函数尽可能完整的实现简单算术表达式求值.
operatorL
- < 用模块化方法实现算术表达式求值.>>
suan_shu_biao_da_shi_qiu_zhi
- 1, 表达式一般由操作数(operand),运算符(operator)和界限符(delimiter)组成。操作数可以有常数,变量或者标识符。运算符分为算术运算符,关系运算符和逻辑运算符。基本界限符有左右括号和表达式结束符号。为了程序简单,仅讨论简单算术表达式的求值问题。这种表达式只含加,减,乘,除和四则运算符,括号以及结束符‘#’。 2, 算法基本思想: 建立两个栈:一个是操作数栈(Stack_nd),用以寄存操作数或运算结果;另一个是运算符栈(Stack_tr)
work
- 利用C++进行编写,对简单的表达式进行求值操作,编译原理课程设计
表达式求值问题
- 表达式求值问题 -expression evaluates issues
1
- 用栈实现的算术表达式求值算法。输入一串含有字母的表达式,要求输入其值即可进行计算。-Stack with the realization of the arithmetic expression evaluation algorithm. Enter a string containing the letters of expression, for the importation of its value can be calculated.
ScientificCalculator
- 科学计算器,主界面具备以下功能: 1、通过直接输入表达式进行加、减、乘、除、乘方、开方、括号基本运算求值,需要考虑其符号优先级别; 2、加入三角函数,可进行正弦、余弦、正切、余切的运算; 3、对十进制数进行二进制、八进制、十六进制的转化; 4、实现弧度制的数与角度制的数互相转化。 -Scientific calculator, the main interface with the following functions: 1, through direct input ex
ProExpr
- 实现表达式求值,表达式树绘制,前缀表达式转换中缀表达式,中缀表达式转换后缀表达式-To achieve expression evaluation, expression tree drawing, prefix expression conversion infix expression, the expression postfix conversion infix expression
Calculator
- 表达式求值计算器,例如输入-(-1-(-1*2+3)/4-5+6/7*8-9)输出7.6428571428571432,还有些bug待修正,例如最多只能表示32位精度等。(欢迎广大高手拍砖)-Expression evaluation calculator, such as input- (-1- (-1* 2+3)/4-5+6/7* 8-9) output 7.6428571428571432, and some bug to be modified, for example, that a
Operation
- 实现表达式求值,对话框中添加图片,美化按扭,界面美观-calculate expression,dialog, button
versdon
- vcpp版本的表达式求值 dlg界面的c++表达式求值程序,-VCPP version of the interface of the c++ expression uation DLG expression uator,
utrvt
- vcpp版本的表达式求值 dlg界面的c++表达式求值程序,(VCPP version of the interface of the c + + expression evaluation DLG expression evaluator,)
TFBT
- vcpp版本的表达式求值 dlg界面的c++表达式求值程序,()