搜索资源列表
dddgfgExpressidddon
- 输入一个算术表达式,求出其值,要求表达式输入正确,且数字为0到9之间.并且要以 # 结束。-importation of a math expression, calculated value, the correct expression input requirements and the number of between 0-9. And to the end #.
递归下降法整数运算
- 该程序使用了递归下降算法进行算术表达式的计算-The program uses recursive descent algorithm arithmetic expressions for the calculation
Calculate000
- 可以识别输入的算术表达式并计算机结果,支持+、-、*、/四则运算及嵌套的(),比如4*3+5*((16+8)/2-5)。 利用后缀表达式计算。-can identify imported computer arithmetic expression and the results support ,-,*, / 4 Operational and nested (), such as 3 5 4 * * ((16 8) / 2-5). The use of the suffix formul
suanshubiaodashiqiuzhi
- 按照《数据结构习题集》严蔚敏版的实验2.5做的算术表达式求值演示。-accordance with the "data structure Exercises Set" Yan Wei-min 2.5 version of the experiment do the arithmetic expression evaluates demonstration.
lgh2.5
- 算术表达式求值演示系统--数据结构作业!-arithmetic expression evaluates demonstration system -- operational data structure!
cal_work
- 数据结构作业,用链表堆栈求解中缀算术表达式,win32开发-data structure operations, using chain Stack Solution sergeant arithmetic expression, the development of win32
Expression-D.S.Report2
- 数据结构课程设计报告,算术表达式求值,自动辨别算符优先级,括号,将char型转换成int计算,再将结果显示,具有精美用户界面-data structure curriculum design, arithmetic expression evaluates automatically identify operator precedence, in brackets, char to int conversion type, the result shows that the user inte
expressionvalue
- 属于利用C++开发的数据结构代码,利用栈结构实现了算术表达式的求值。-development is the use of C code structure of the data, using stack structure for arithmetic expression value.
stackarithmethic
- 计算复杂算术表达式的值,可以计算多位数,表达式可含有括号
expression
- 算术表达式求值,数据结构课程设计,非常实用,适合学生
TExpression
- 题目:表达式类型的实现 用树来实现前缀算术表达式到正常表达式的转换,并且通过变量赋值算出结果。 测试数据: (1)分别输入0;a -91 +a*bc +*5~x2*8x +++*3~x3*2~x2x并输出。 (2)每当输入一个表达式后,对其中的变量赋值,然后对表达式求值。
EXPRE
- 二叉树实现算术表达式存储。前序输入表达式,可进行表达式求值和表达式复合
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
exp
- 处理了正确的算术表达式的转换为逆波兰式后进行计算,可处理多位整型数的运算,如:10*(15-5)+30/3#-Dealing with the correct arithmetic expression is converted to Reverse Polish-style after the calculation, can handle a number of integer arithmetic, such as: 10* (15-5)+ 30/3#
datastructure
- 本学期所有数据结构的大作业一,设A与B分别为两个带有头结点的有序循环链表(所谓有序是指链接点按数据域值大小链接,本题不妨设按数据域值从小到大排列),list1和list2分别为指向两个链表的指针。请写出将这两个链表合并为一个带头结点的有序循环链表的算法。二,本次实验的题目为表达式求值,要求设计一个程序,演示用算符优先法对算术表达式求值的过程。 即编写程序把前缀表达式转换成后缀表达式,并计算结果。用以下三组数据测试程序: 3*(7-2); 2*(6+2*(3+6*(6+6)))+(6+
tree
- 算术表达式与二叉树之间存在着对应关系,编写把以前缀形式输入的合法算术表达式转换为中缀表达式,再转换为后缀表达式,并求表达式的值-Arithmetic expressions with binary tree there is a correlation between the preparation of the form to enter the legitimate prefix arithmetic expression conversion infix expression, and t
calculator
- 用C++编写带括号的算术表达式求值,利用堆栈实现,采用算符优先数算法。-Written with C++ arithmetic expression in parentheses is evaluated using the stack implementation, the use of operator priority number algorithm.
third2
- 2.编写程序实现表达式求值,即验证某算术表达式的正确性,若正确,则计算该算术表达式的值。 主要功能描述如下: 1、从键盘上输入表达式。 2、分析该表达式是否合法: (1)是数字,则判断该数字的合法性。若合法,则压入数据到堆栈中。 (2)是规定的运算符,则根据规则进行处理。在处理过程中,将计算该表达式的值。 (3)若是其它字符,则返回错误信息。 3、若上述处理过程中没有发现错误,则认为该表达式合法,并打印处理结果。 -2. Write a program to
新建压缩(zipped)文件夹
- 一个表达式和一棵二叉树之间,存在着自然的对应关系。写一个程序,实现 基于二叉树表示的算术表达式 Expression 的操作。(There is a natural correspondence between an expression and a two forked tree. Write a program to implement The operation of the arithmetic expression Expression based on the two f
算术表达式求值演示
- 用栈实现算术表达式求值,另有MFC制作的图形界面(Arithmetic expression evaluation by stack, and graphical interface made by MFC)