搜索资源列表
biaodashi
- 1.一个表达式和一个二叉树之间,存在着自然的对应关系。写一个程序,实现基于二叉树表示的算术表达式Expression的操作。 2.假设算术表达式Expression内可以含有变量(a~z)、常量(0~9)和二元运算符(+,-,*,/,^(乘幂))。实现以下操作: ⑴ReadExpr(E)——以字符序列的形式输入语法正确的前缀表达式并构造表达式E。 ⑵WriteExpr(E)——用带括弧的中缀表达式输出表达式E。 ⑶Assign(V,c)——实现对变量Vde赋值(V=c),变量的初
1
- C++语言编的表达式求值-中缀表达式转为后缀表达式-C++ language for evaluation of the expression- expression to infix expressions suffix
Expression
- 算式表达式求值,如4+2*3,是c语言类的-Formula for the value of expression
lgh2.5
- 简单的表达式求值的C程序,运用了进栈出栈的一些应用-Simple expression evaluation of the C program, using the stack into the stack a number of applications