文件名称:suanshubiaodashiqiuzhi.rar
-
所属分类:
- 标签属性:
- 上传时间:2012-09-04
-
文件大小:1.25kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
1、 以字符序列的形式从终端输入语法正确的、不含变量的证书表达式。利用一定的运算符优先关系,实现对算术四则混合运算表达式的求值,并且在求值中运算符栈、运算数栈、输入字符和主要操作的的变化过程。
2、 设置运算符栈和运算数栈辅助分析算符的优先级。
3、 在读入表达式的字符序列的同时,完成运算符和运算数的识别处理,以及相应的运算。
4、 在识别处运算符的同时,要将其字符序列形式转换成整数形式。
5、 在程序的适当的位置输入运算符栈、运算数栈、输入字符和主要操作内容。
,1, to form a sequence of characters input from the terminal grammar correct, non-variable expression of the certificate. The use of a certain operator precedence relations and the realization of the four mixed arithmetic expression for computing the value, and value in order to stack operator, computing the number of stacks, input characters and major changes in the course of the operation.
2, set up operator stack operands stack and operator-assisted analysis of the priority.
3, in the time sequence of characters into the expression at the same time, the completion of operator and operator identification numbers, as well as the corresponding arithmetic.
4, in the identification Office operator at the same time, to form the character sequence into the form of an integer.
5, in place procedures for the importation of the operator stack, the number of stack operations, input characters and the main operation of the content.
2、 设置运算符栈和运算数栈辅助分析算符的优先级。
3、 在读入表达式的字符序列的同时,完成运算符和运算数的识别处理,以及相应的运算。
4、 在识别处运算符的同时,要将其字符序列形式转换成整数形式。
5、 在程序的适当的位置输入运算符栈、运算数栈、输入字符和主要操作内容。
,1, to form a sequence of characters input from the terminal grammar correct, non-variable expression of the certificate. The use of a certain operator precedence relations and the realization of the four mixed arithmetic expression for computing the value, and value in order to stack operator, computing the number of stacks, input characters and major changes in the course of the operation.
2, set up operator stack operands stack and operator-assisted analysis of the priority.
3, in the time sequence of characters into the expression at the same time, the completion of operator and operator identification numbers, as well as the corresponding arithmetic.
4, in the identification Office operator at the same time, to form the character sequence into the form of an integer.
5, in place procedures for the importation of the operator stack, the number of stack operations, input characters and the main operation of the content.
相关搜索: operator priority stack
(系统自动生成,下载前可以参看下载内容)
下载文件列表
suanshubiaodashiqiuzhi.c
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.