搜索资源列表
khss
- 数据结构:带括号的算术表达式求值。能完成一位数的带括号的算术表达式的运算,结果可以为多位数。用栈实现中缀表达式和后缀表达式的转换。-data structure : the bracketed arithmetic expression is evaluated. Complete with a number of brackets arithmetic expression Operational results for the multi-digit number. With Stack I
expression_calculation
- 利用栈实现的算术表达式计算程序,语言为纯c。开发工具为vc6。-use Stack arithmetic expression calculation procedures, language pure c. Development tools for vc6.
suanshubiaodashi
- 关于栈中算术表达式求法 别人写的,觉得很好 十分敬佩-on the stack arithmetic expression Solution written by someone else, a very good feel admiration
MathExpression
- 简单算术表达式的计算(使用栈) java 版-simple arithmetic calculation of the expression (using the stack) java version
biaodashqiuzhi
- 算术表达式求值的程序,用栈实现的,可以进行加、减、乘、除、乘方、求余计算,支持小数和括号 (数据结构作业)-arithmetic expression evaluates the procedures used stack to achieve, and can be, plus or minus, multiplication, addition, the involution, for I, support minority and brackets (data structure oper
EX25
- 编制一个算术表达式求值的程序 1)以字符序列的形式从终端输入表达式,实现对运算表达式的求值。 (2)演示在求值中运算符栈,运算数栈、输入字符和主要操作的变化过程。 (3)设置运算符栈和运算数栈辅助分析算符优先关系。 (4)在读入表达式的字符序列的同时,完成运算符和运算数的识别处理,以及 相应的运算。 (5)在识别出运算数的同时,要将其字符序列形式转换成整数形式。 -compiled an arithmetic expression for a value of the
expressionvalue
- 属于利用C++开发的数据结构代码,利用栈结构实现了算术表达式的求值。-development is the use of C code structure of the data, using stack structure for arithmetic expression value.
suan_shu_biao_da_shi_qiu_zhi
- 1, 表达式一般由操作数(operand),运算符(operator)和界限符(delimiter)组成。操作数可以有常数,变量或者标识符。运算符分为算术运算符,关系运算符和逻辑运算符。基本界限符有左右括号和表达式结束符号。为了程序简单,仅讨论简单算术表达式的求值问题。这种表达式只含加,减,乘,除和四则运算符,括号以及结束符‘#’。 2, 算法基本思想: 建立两个栈:一个是操作数栈(Stack_nd),用以寄存操作数或运算结果;另一个是运算符栈(Stack_tr)
program
- 算术表达式求值,用栈将表达式转换为后缀形式,然后利用后缀表达式求值
Precede
- 用算符优先法对算术表达式求值的过程。要求以字符序列的形式从终端输入语法正确的、不含变量的整数表达式。实现对算术四则混合运算表达式的求值,并在求值中运算符栈、运算数栈、输入字符和主要操作的变化过程。
DATA_STRUCTURE
- 题 目: 算术表达式求值的程序设计 初始条件: 表达式计算是实现程序设计语言的基本问题之一,也是栈的应用的一个典型例子。设计一个程序,演示用算符优先法对算术表达式求值的过程。 以字符序列的形式从终端输入语法正确的、不含变量的整数表达式。利用教科书表3.1给出的算符优先关系,实现对算术四则混合运算表达式的求值,并仿照教科书的例3-1演示在求值中运算符栈、运算数栈、输入字符和主要操作的变化过程。
biaodashiqiuzhi
- 题目:设计一个题目,演示用算符优先法对算术表达式求值的过程。 概要设计 1、顺序扫描中缀算术表达式,当读到数字时直接将其送至输出队列中; 2、当读到运算符时,将栈中所有优先级高于或等于该运算符弹出,送至输出队列中,再将当前运算符入栈; 3、当读入左括号时,即入栈; 4、当读到右括号时,将靠近栈顶的第一个左括号上面的运算符全部一次弹出,送至输出队列中,再删除栈中的左括号。 5、使用VS栈来存储读入的操作和运算结果,然后进行数字字符到数值的转换。
khss_Debug
- 带括号的算术表达式计算器.能完成一位数的带括号的算术表达式的运算,结果可以为多位数。用栈实现中缀表达式和后缀表达式的转换。-bracketed arithmetic expression calculator. Complete with a number of brackets arithmetic expression Operational results for the multi-digit number. With Stack Implementation grade express
expression
- 利用栈完成算术表达式求值:从键盘或文件中输入算术表达式,计算其结果并显示。要求处理过程为:(1)转换为后缀表达式并输出;(2)对后缀表达式求值并输出。 输入的表达式中可以有整数、实数、括号,运算符包括+、-、*、/、#(代表单目负)。可以多次输入不同的表达式进行计算,直到用户选择“退出”。栈的基本操作可以自己实现,也可以使用系统提供的STL实现。 -Done using an arithmetic expression evaluation stack: file input fr
FomulaStack
- 利用栈求解算术表达式的值,程序分为两种表达式,中缀式与后缀式,分别得用栈先入后出的特性,以及运算符的优先级比较,进行求解-use arithmetic to solve the value of the expression, procedures are divided into two expressions, and the sergeant-type suffix. Stack were starting after the first-in-the characteristics, a
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.
arithmetic
- 利用堆栈实现算术表达式的功能,当你输入一个式子时,他自动检验符号的优先级+,-,*,/,(,)-The use of the stack to achieve the function of arithmetic expressions
expressions
- 有关表达式的栈的应用 内容有:表达式括号匹配 计算后缀表达式的值 计算算术表达式的值 中缀表达式转后缀表达式-Expression of the application stack are as follows: the expression in brackets to match the calculated value of the suffix arithmetic expression expression is made up of expressions of
calculator
- 一、实验一:带括号的算术表达式求值 二、实验的目的和要求: 1.采用算符优先数算法,能正确求值表达式 2.熟练掌握栈的应用 3.熟练掌握计算机系统的基本操作方法,了解如何编辑、编译、链接和运行一个C++程序 -1, experiment 1: arithmetic expressions with parentheses evaluated two experimental purposes and requirements: 1. Using operators pr
算术表达式求值演示
- 用栈实现算术表达式求值,另有MFC制作的图形界面(Arithmetic expression evaluation by stack, and graphical interface made by MFC)