搜索资源列表
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
stack_and_expression
- 我上传的是数据结构里面栈``表达式求值`问题的`源程序``并且`编译能运行拉`` 是用c++编的``还算可以-I upload the data structure inside stack expression evaluates the source and compiler can run Rafah is c series may have been
suanshubiaodashii
- 算数表达式求值程序,这个是我自己编的,很好用,应该处理有限的字符,最后要以“#”号结束符。-count expression evaluates procedures, this is my own series, useful, should address the limited character, Finally to "#" endings.
BiaoDaShiQiuZhiShiYan
- 编译原理的算符优先表达式求值程序,附带有实验报告,仅供参考。-compiler principle of priority operator expression evaluates procedures, a fringe experimental report, for information purposes only.
calculatordsaaa
- 同诸多网友一样,受益于VCKBASE,觉得应为他做点贡献了,于是做了这么一个基于表达式求值的科学计算器与各位爱好编程的朋友分享。 如您所知,这方面的程序很多,看过ZF.Yi的相关作品,也见过黄江峰的相关程序,但我觉得我的计算类有不同于二位的特色,如计算结果的有效位较长(16位);支持不严格的表达式输入(如cos(23)*sin(34)与cos(23)*sin(34与cos23*sin34等价);支持四种进制的数在一个表达式中同时出现的进制混合运算(除十进制外的各进制数不限于整数,如12
B05031126
- 后缀表达式求值及校验,可以校验出所有非法的后缀表达式-suffix expression evaluates and verification can check out all illegal suffix expression
houzhuibiaodashi
- 后缀表达式求值 vc编程练习,学生作业-suffix expression evaluates vc programming exercises, the students work
previousToken_expressionresult
- 毛坯表达式 求值器,用bison写的。麻雀虽小,五脏俱全的,主要的特征都用到了,gcc的语法分析也不过就用了这些方法。 -blank expression evaluator with bison writes. This small, perfectly formed, the main features are used, gcc syntax analysis However, on the use of these methods.
exp_mid
- 用C写的中缀表达式求值程序及实验报告。-C superintendent, which was the expression evaluates procedures and laboratory reports.
表达式求值的C源程序
- 用栈实现表达式求值-stack with Expression Evaluation
biaodashiqiuzhi(C++)
- 表达式求值的源代码,注释完全,适合初学者使用
0420
- 1.程序名称:表达式求值 要求: *以字符序列的形式从键盘输入不含变量的整数算术四则表达式(可以有小括号); *检查表达式的正确性 *将其转换为二叉树的存储表示; *通过后序遍历得到其后缀表达式序列,输出该序列; *利用后缀表达式进行求值运算,输出求值结果
BankOfComputing.cpp
- 本程序是一个行计算器(即对表达式求值)。计算器能实现加、减、乘、除、取余(%)和乘方(^)运算;能实现三角函数(正弦函数sin和余弦函数cos),求10为底的对数log,求2为底的对数ln,求e的指数幂exp,其参数也可以是合法的表达式; 计算器并能对表达式的合法性进行测试,错误的能给出表达式错误的信息。 ] 输入文件格式:第一行是一个正整数N,表示有多少行表达式。接下来的N行每一行是 一个表达式。表达式使用由浮点数(只用小数点表示)和运算符表示。 输出格式:每个行输出一个表达
数学表达式计算器
- 这是一个对数学表达式求值的C++ class,详细的说明在Calculator.pdf中。 这个Calculator class虽然经过我多次测试,改正了不少错误,但我不保证在将来的使用中它不会对您的程序造成影响,对您在使用中造成的一切后果,本人不承担任何责任。-this a mathematical expression evaluates the C class, detailed descr iption of the Calculator.pdf China. The Calculato
表达式求值
- 允许用户输入函数表达式,并可加载在需要用到此程序的工程中-allows users to input function expression may require the loading process is now projects
基于二叉树求算术表达式求值的课程设计
- 这是本人做的关于基于二叉树求算术表达式求值的课程设计,供大家一起学习。表达式求解问题 设计一个程序实现基于二叉树表示的算术表达式的操作。 1、 需求分析 1. 算术表达式的合法输入数据包括变量(A~Z,a~z)、常量(0-9)和二元运算符(+,-,*,/,^(乘幂))。程序对数据输入格式不作要求,用户需自己保证语法正确,详见用户手册说明。 2. 演示程序以人机对话的方式执行,即在计算机上显示提示信息后,由用户在键盘上输入对应的数据或命令,程序将执行相应的操作并显示下一步信息。 3. 程
biaodashiqiuzhi
- 此源代码是用VC++编写的,是基于编译原理中对简单表达式求值,其中有词法分析,语法分析,以及语义分析最终得出结果-This source code is VC++ Prepared is based on the compiler of a simple expression of the principle of seeking value, including lexical analysis, grammar analysis and semantic analysis of the ul
C
- C#算术表达式求值我是的算法核心是逆波兰式.还有就是w3eval这个算术表达式求值算法很不错.但有一种表达式它会报错.我想这是一个BUG:w3eavl不能计算"-(3+5)"的值.或者类似的计算式.-C# Arithmetic expressions evaluate my algorithm is the core of Reverse Polish-style. W3eval there is the arithmetic expression evaluation algorithm is
1
- C++语言编的表达式求值-中缀表达式转为后缀表达式-C++ language for evaluation of the expression- expression to infix expressions suffix
计算器 2
- 与老的出栈入栈不同,用的递归手法计算表达式的值。(Unlike the old stack in the stack, the value of the expression is calculated recursively.)