搜索资源列表
Calculator_2
- 由于不上传就不能下载 所以我随便传了一个这个程序能计算一个中缀表达式 不能处理负数 (呵呵 还没写好)-Because doing not ascend to spread and then can t wnload so I spread literally a this procedure can compute a the inside expresses the type can t handle minus quantity( the hahah hasn t written good
含括弧的任意精度四则运算的详细解释
- 1.本程序主要的功能是利用链表将用户输入的任意精度中缀表达式转换成后缀表达式,为了以便于区分数据和操作符,数据间用下划线将它们区分开来,并且计算出此表达式的值。 2.需要注意的是:此程序所叙述的四则运算是狭义的,并没有显式的要求用户以中括弧“[]”或者是大括弧“{}”进行输入,因为这样会大大的加大程序的代码量,为了简便起见,同时又为了实现四则混合运算的功能,只要用户将含有中括弧或者是大括弧的地方均以小括弧表示即可。-1. This program is the main functio
中缀表达式求值
- 中缀表达式求值,运用了堆栈进行存储,并支持小数的计算-expression which evaluates superintendent, the use of stack for storage, and support for the calculation of the minority
houzhui
- 把中缀表达式转换为后缀表达式并计算结果~~第一个编译试验作业~-sergeant Chinese expression for the conversion and extension expression results ~ ~ a compiler test operations ~
postfix
- 中缀表达式转中缀表达式,后缀表达式的计算-which is made up of ordinary Chinese expression to expression, the expression calculation Suffix
中缀变后缀
- 这个c语言程序实现中缀表达式变为后缀表达式,并且实现其计算-the language program which is made up of expressions into a suffix expression, and its calculation
逆波兰表达式
- 计算用运算符后缀法表示的表达式的值。后缀表达式也称逆波兰表达式,比中缀表达式计算起来更方便简单些,中缀表达式要计算就存在着括号的匹配问题,所以在计算表达式值时一般都是先转换成后缀表达式,再用后缀法计算表达式的值。如:表达式(a+b*c)/d-e用后缀法表示应为abc*+d/e-。只考虑四则算术运算,且假设输入的操作数均为1位十进制数(0—9),并且输入的后缀形式表达式不含语法错误-calculated Operators suffix France said the value of the e
c++2
- 编写一个能够计算中缀表达式的程序,其中关于中缀表达式有如下的要求: 1)表达式中只处理二元运算符 2)表达式中出现的运算符为:+、-、*、/、^(幂运算)、(),其中幂运算符的优先级别比*和/的高,但是其结合性为右结合 3)希望表达式中能够处理实数 -编写一个能够计算中缀表达式的程序,其中关于中缀表达式有如下的要求: 1)表达式中只处理二元运算符 2)表达式中出现的运算符为:+、-、*、/、^(幂运算)、(),其中幂运算符的优先级别比*和/的高,但是其结
中缀转后缀的程序
- 将中缀表达式转化为后缀表达式,并计算它的值,采用栈结构,实现运算
Caluate
- 将中缀表达式转换为后缀表达式,并计算任意四则运算表达式的结果,采用链表和队列实现,非文法和状态机-Infix expression would be converted to suffix expressions, and calculate the arithmetic expression of arbitrary results, the use of linked lists and queues to achieve, non-grammar and the state machine
3071102672_A
- 计算后缀表达式,先将中缀式转化为后缀式,在进行计算,有较高的效率-Suffix calculated expression, first in the up-type into a suffix-style, in terms of higher efficiency
jisuan
- 本程序的主要功能在于中缀表达式的计算, 其中运算符有加,减,乘,除,乘幂基本运算符 ,运算数为实数之间运算,并可以实现循环 计算..完成基本操作是进行字符处理,栈的使用. -The primary function of this program is made up of the calculation of expression, in which operators are add, subtract, multiply, divide, take the power of
calculator
- 计算中缀表达式,数字为整数,加减乘除四则运算 -*This program can solve simple formula *by adder, subtraction, multiplication and division, *whose operand is float, including minus float. */
zhongzhui
- 通过栈实现将表达式转换为后缀,并可以计算中缀表达式和后缀表达式的求值-Through the stack to achieve the expression into postfix, and infix expressions can be calculated and postfix expression evaluation
houzui
- 计算中缀表达式,后缀表达式,前缀表达式,多项式处理-Infix expression calculation postfix expression prefix expressions, polynomials processing
calculator
- 计算器-逆波兰式,计算机计算中缀表达式时通常要将中缀转后缀,也就是逆波兰式-The calculator- Reverse Polish Notation, the computer calculation infix expression usually To infix turn suffix, which is the inverse Polish
zhongzhui
- 计算中缀表达式的值,简单算术表达式的求解-Infix expression value calculation, solving simple arithmetic expressions
compute
- 编写一个能够计算中缀表达式的程序,其中关于中缀表达式有如下的要求: 1)表达式中只处理二元运算符 2)表达式中出现的运算符为:+、-、*、/、^(幂运算)、(),其中幂运算符的优先级别比*和/的高,但是其结合性为右结合-Write a program to calculate the infix expression, the infix expression has the following requirements: 1) only two yuan operator ex
Reverse_Polish_Notation
- 计算中缀表达式的逆表达式,可支持5种逻辑关系运算符,并计算得到结果(Reverse Polish notation)
CPP
- 编写一个计算中缀表达式计算的程序。运算符包括+、-、*、/、(、),操作数可以是多位数和浮点数。要求程序从输入文件input.txt读取表达式,并将计算结果写入输出文件output.txt,计算结果保留小数点后2位,四舍五入。输入表达式有错误时,输出“错误”。(Calculation of infix expression)