搜索资源列表
Calculator
- 带括号的算术表达式求值 1.采用算符优先数算法,能正确求值表达式 2.栈的应用 -Bracketed arithmetic expression uation 1. Using operators priority number algorithm, able to uate the expression is correct 2. application stack
Caculator
- 这是一个简易计算器,特点在于实现了“算法优先法”,便于输入和计算很长的算术表达式。-It s a simple caculator ,which is based on the Algorithm priority method.
LR
- 实现一个关于表达式的LR语法分析程序,识别用户输入的包含变量与整数的混合算术表达式-Implement an LR parser about expressions, identify the user entered contains variables and mixed integer arithmetic expressions
shangji2
- 数据结构上机题。题目是 实现算术表达式求值程序(栈的运用)。 设操作数:0,1,2,……,8,9(可扩充); 运算符:+,—,*,/,(,),#(#号为结束)。 -Data structure machine problems. Topic is to achieve an arithmetic expression uator (stack use). Number of set operations: 0,1,2, ......, 8,9 (expandable) ope
nibolan
- 设计一个算法,将一般算术表达式转化为逆波兰表达式,并求逆波兰表达式的值。可以实现+、-、*、/和带括号的运算,如6+(7-1)*3+10/2.(C语言实现)-Design an algorithm that will generally arithmetic expression into a reverse polish expression, and the value of reverse polish expression. Can realize the+,-,*,/and (), s
Conversion-of-arithmetic-expressions
- 数据结构一些算术表达式的转换,前缀中缀后缀的变换-Data structure some arithmetic expressions of the conversion
wyh
- 实现一个递归下降语法分析程序,识别用户输入的算术表达式-a program
Arithmetic-expression-evaluation
- [问题描述] 表达式计算是实现程序设计语言的基本问题之一。也是栈的应用的一个典型例子。设计一个程序,演示用算符优先法或转换成后缀表达式方法对算术表达式进行求值的过程。 [基本要求] 以字符序列的形式从终端输入语法正确的、不含变量的整数表达式。利用中缀表达式向后缀表达式转换的方法,实现对算术四则混合运算表达式的求值。-Expression computing is to achieve one of the basic problems of program design langu
MathParser4
- 利用JavaCC分析并计算算术表达式。支持变量、常见函数。分析过程与计算过程分开,计算速度可与Java内置表达式相比。调用方法见主程序的main方法。-JavaCC analyzed and calculated use of arithmetic expressions. Support variables, common functions. Analysis and calculation process separately, the calculation speed can be c
applications
- 实现C++算法实现 熟练掌握图的应用 算术表达式求值-C++ algorithm to achieve proficiency in the application of FIG arithmetic expression uation
Expressions-computing
- 表达式计算是实现程序设计语言的基本问题之一,它的实现是栈的应用的一个典型例子。设计一个程序,演示通过将数学表达式字符串转化为后缀表达式,并通过后缀表达式结合栈的应用实现对算术表达式进行四则混合运算。- Expressions computing is one of the basic issues to realize programming language, its implementation is a typical example of an application stack.
math
- 算法,一个算术表达式是由操作数(operand)、运算符(operator)和界限符(delimiter)组成的。假设操作数是正实数,运算符只含加减乘除等四种运算符,界限符有左右括号和表达式起始、结束符“#”,如:#(7+15)*(23-28/4)#。引入表达式起始、结束符是为了方便。编程利用“算符优先法”求算术表达式的值。-Algorithm, an arithmetic expression is made up of operands (operand), operator (operat
cal
- 一个简单的算术表达式求值的小程序,含有自动查错功能-A simple arithmetic expression uation program, containing automatic error checking
expression_calculation
- 利用栈实现的算术表达式计算程序,语言为纯c。开发工具为vc6。-use Stack arithmetic expression calculation procedures, language pure c. Development tools for vc6.
include
- 数据结构题集C语言版中算术表达式求值演示-Arithmetic expression uation demo
zhan
- 栈 假设一个算术表达式中可以包含三种括号:园括号“(”和“)”、方括号“[”和“]”、花括号“{”和“}”,且这三种括号可按任意的次序嵌套使用。编写判别给定表达式中所含括号是否正确配对出现的算法(已知表达式已存入数据元素为字符的顺序表中)。要求:顺序栈存储;实现顺序栈的基本操作;调用基本操作完成。-The stack Suppose a arithmetic expressions can contain three kind of parentheses: garden \ (\ a
Arithmetic-expression-evaluator
- (1) 从键盘或文件读入一个合法的算术表达式,输出正确的结果。 (2) 显示输入序列和栈的变化过程。 (3) 考虑算法的健壮性,当表达式错误时,要给出错误原因的提示。-(1) the keyboard or the file is read into a legitimate arithmetic expressions, output the correct result. (2) changes in the sequence and displays the input pr
shujujiegoukeshe
- 一个算术表达式是由操作数(operand)、运算符(operator)和界限符(delimiter)组成的。假设操作数是正整数,运算符只含加减乘除等四种运算符,界限符有左右括号和表达式起始、结束符“#”,如:#(7+15)*(23-28/4)#。引入表达式起始、结束符是为了方便。编程利用“算符优先法”求算术表达式的值。 [基本要求] (1) 从键盘读入一个合法的算术表达式,输出正确的结果。 (2) 显示输入序列和栈的变化过程。-An arithmetic expression is
PolynomialCompiler
- 一个简单的算术表达式编译器。能够完成算术表达式的词法分析,语法分析,以及中间代码生成,和计算-A simple polynomial compiler that include lexer and parser.
Application-Stack
- 用算符优先法对算术表达式求值, 以字符序列的形式从终端输入语法正确的、不含变量的整数表达式-Integer expression with operator precedence arithmetic expression is uated in the form of a sequence of characters the input terminal grammatically correct, variable-free