搜索资源列表
Convert-infix
- 问题描述 中缀表达式就是我们通常所书写的数学表达式,后缀表达式也称为逆波兰表达式,在编译程序对我们书写的程序中的表达式进行语法检查时,往往就可以通过逆波兰表达式进行。我们所要设计并实现的程序就是将中缀表示的算术表达式转换成后缀表示,例如,将中缀表达式 (A 一 (B*C 十 D)*E) / (F 十 G ) 转换为后缀表示为: ABC*D十E* FG十/ 注意:为了简化编程实现,假定变量名均为单个字母,运算符只有+,-,*,/ 和^(指数运算
Discriminant-bracket-pair
- 一个算术表达式含圆括号、中括号、花括号,且它们可任意嵌套使用。写一程序,判断任一算术表达式中所含括号是否正确配对。 -An arithmetic expression with parentheses, brackets, braces, and they can be arbitrarily nested use. Write a program to determine whether the correct pair of brackets in any arithmetic expr
cal
- 分析用堆栈解析算术表达式的基本方法。给出的示例代码能解析任何包括+,-,*,/,()和0到9数字组成的算术表达式。-The Basic Method of Arithmetical Expressions for Analytical Stack. The given sample code can parse any arithmetic expression consisting of+,-,*, /, () and 0 to 9 numbers
exppexsion-variables
- 此算术表达式能够在程序运行时根据输入的变量大小和算术表达式动态解析表达式-This arithmetic expression is able to run the program according to the size of input variables and the arithmetic expression dynamic analytic expression
qxpressedtree
- 题目内容:在以二叉树表示算术表达式的基础上,设计一个十进制的四则运算的计算器-Subject content: in expressed as a binary tree arithmetic expression, on the basis of the design of a decimal arithmetic calculator
47650501
- 表达式的解析,主要是算术表达式的分析,分析成四元式,不错的-Expression parsing, mainly is the analysis of the arithmetic expression analysis into four yuan, pretty good
bitreewww
- 二叉树表示算术表达式的基础上,设计一个十进制的四则运算的计算器。-The binary tree represents an arithmetic expression based on the design of a decimal four calculus calculator.
zhanwww
- 表达式求值运算是实现程序设计语言的基本问题之一,也是栈应用的一个典型例子。设计并演示用算符优先级对算术表达式的求解过程-Expression uations are one of the basic problems in implementing programming languages and are a typical example of stack applications. Design and demonstrate the process of solving the ari
备课
- 数据结构实验 算术表达式求值 算术匹配 顺序表等(Data structure experiment, arithmetic expression evaluation, arithmetic matching, order table, etc.)
maibly_into
- 表达式的解析,主要是算术表达式的分析,分析成四元式,不错的(Expression parsing, mainly is the analysis of the arithmetic expression analysis into four yuan, pretty good)
grammatical analysis
- 对算术表达式进行词法和语法分析,思路:大体遵循着编译原理中提到的词法和语法分析步骤,即先对表达式进行区分为操作符或标志符,将其存放在符号表中,而后从符号表中识别符号类别和操作符优先级存放在二叉树中。(Analysis of lexical and syntax of arithmetic expressions: roughly follow the principle of compiling ideas mentioned in the lexical and syntax analysis
toycomputeratomic
- 题目内容:在以二叉树表示算术表达式的基础上,设计一个十进制的四则运算的计算器()
HHUJLRO
- 一些c程序,象棋之马踏棋盘,把算术表达式转化未逆波兰表达式,保龄球计分规则算法,可进行多达50位的大整数运算+X,铁路()
gjnj
- 此算术表达式能够在程序运行时根据输入的变量大小和算术表达式动态解析表达式()
cbmgufn
- 表达式的解析,主要是算术表达式的分析,分析成四元式,不错的()
实验2
- 设计一个程序,演示用算符优先法对算术表达式求值的过程。利用算符优先关系,实现对算术四则混合运算表达式的求值。 (1)输入的形式:表达式,例如2*(3+4) 包含的运算符只能有'+' 、'-' 、'*' 、'/' 、'('、 ')'; (2)输出的形式:运算结果,例如2*(3+4)=14; (3)程序所能达到的功能:对表达式求值并输出(A program is designed to demonstrate the process of evaluating arithmetic
776580
- 一些c程序,象棋之马踏棋盘,把算术表达式转化未逆波兰表达式,保龄球计分规则算法,可进行多达50位的大整数运算+X,铁路()
数据结构课程设计源代码
- 编写一个程序,通过前缀表达式来构造一个与之对应的算术表达式并存入二叉树中,通过中序遍历二叉树输出表达式及对其进行变量赋值,通过后序遍历二叉树计算表达式的值。(A program is written by prefix expression to construct an arithmetic expression corresponding to it and store it into two binary tree. Through traversing two fork tree out
vsuudo
- 题目内容:在以二叉树表示算术表达式的基础上,设计一个十进制的四则运算的计算器()
oyhi
- 此算术表达式能够在程序运行时根据输入的变量大小和算术表达式动态解析表达式()