Description: 表达式求值
用户按平时习惯输入数字算术表达式(即中缀表达式)后,输出对应的后缀表达式,并求出表达式的值。可借此熟悉栈的操作。
可供学习《数据结构》(清华大学出版社)(P52表达式求值)、《数据结构课程设计》(机械工业出版社)(P37表达式求值问题)时参考,本程序优于书中算法,并支持浮点型-Expression evaluated by the usual habits of the user input the number of arithmetic expressions (ie infix expressions), the output of the corresponding suffix expression, and calculated the value of expression. Will be able to familiar with the stack operation. For learning data structure (Tsinghua University Press) (P52 expression evaluation), Data Structure Course Design (Mechanical Industry Press) (P37 expression evaluation problem) reference, this procedure is superior to the book algorithm, and to support the floating-point type Platform: |
Size: 1024 |
Author:XY Z |
Hits:
Description: 表达式求值!输入表达式,分别创建一个数符栈和操作数栈来存储输入,根据优先级来计算表达式的值!-Expression evaluator! Enter the expression, respectively, to create a few Fu operand stack and the stack to store the input, in accordance with priority to calculate the value of expression! Platform: |
Size: 13312 |
Author:guojing |
Hits:
Description: 个算术表达式是由操作数(operand)、运算符(operator)和界限符(delimiter)组成的。
假设操作数是正整数,运算符只含加减乘除等四种运算符,界限符有左右括号和表达式起始、结束符"#",如:#(7+15)*(23-28/4)#。
引入表达式起始、结束符是为了方便。编程利用"算符优先法"求算术表达式的值。-In arithmetic expressions by the operand (operand), operator (operator) and the Limits of Fu (delimiter), composed of. Assumptions operand is a positive integer, operator calculation containing only four operators, Boundary Fu around brackets and expressions are the starting and end at # , Such as:# (7+ 15)* (23-- 28/4)#. The introduction of expression start and end address for convenience. Programming using operator priority method seek the value of the arithmetic expression. Platform: |
Size: 197632 |
Author:刘一丹 |
Hits:
Description: 表达式求值的小程序源码,呵呵.献丑了.高手就不用看了.-Expressions evaluate small program source, huh, huh. Show one s incompetence has been. You will not need to read. Platform: |
Size: 168960 |
Author:朱金衡 |
Hits:
Description: 算术表达式求值,很具体,很完整,是做课设的好材料-Arithmetic expression evaluation, is very specific, very complete, is doing a good class-based material! ! ! Platform: |
Size: 197632 |
Author:廖才志 |
Hits:
Description: 用C实现简单表达式 (数字都为整形)
适合初学者-Simple expression with C (figures are for the plastic) for beginners Platform: |
Size: 1024 |
Author:dreamy |
Hits:
Description: 数据结构经典程序,表达式求值,完整的程序,有详细的注释,执行时会有详细的提示,主要遵照于 严蔚敏《数据结构》 里面的表达式求值程序,对该程序进行完善。-Classic procedure data structure, expression evaluation, complete program, with detailed notes, there will be a detailed implementation tips, mainly in strict accordance with Wei Min " data structure" which the expression evaluation process, to perfect the process. Platform: |
Size: 349184 |
Author:lin |
Hits:
Description: 不含变量的整数表达式求值,支持四则运算。栈的典型应用,为学习数据结构的优秀代码。-Non-integer variable expression evaluation, support for arithmetic. Typical applications stacks, data structure for learning the fine code. Platform: |
Size: 14336 |
Author:袁迪 |
Hits:
Description: 数据结果实验 表达式求值
中缀表达式转后缀表达式求值-Results of experimental data to evaluate the expression in infix postfix expression evaluation turn Platform: |
Size: 283648 |
Author:endless |
Hits:
Description: C语言实现快速傅里叶变换源码,windows xp 系统下才可以 数据结构表达式求值-The C language implementation of fast Fourier transform Data structure expression evaluates Platform: |
Size: 4096 |
Author:lina |
Hits: