文件名称:EX25
介绍说明--下载内容来自于网络,使用问题请自行百度
编制一个算术表达式求值的程序
1)以字符序列的形式从终端输入表达式,实现对运算表达式的求值。
(2)演示在求值中运算符栈,运算数栈、输入字符和主要操作的变化过程。
(3)设置运算符栈和运算数栈辅助分析算符优先关系。
(4)在读入表达式的字符序列的同时,完成运算符和运算数的识别处理,以及
相应的运算。
(5)在识别出运算数的同时,要将其字符序列形式转换成整数形式。
-compiled an arithmetic expression for a value of the procedure) to form the sequence of characters from the terminal input expression, Operators achieve expression of the value. (2) demonstration at the University of value Operators stack, operand stack, and the main characters in the importation of the process of change operation. (3) The provision of Operators and operand stack Stack aided analysis operator precedence relations. (4) read into the expression of the sequence of characters, complete Operators and operands identification, and the corresponding operation. (5) identified several operations at the same time, his sequence of characters forms into integer form.
1)以字符序列的形式从终端输入表达式,实现对运算表达式的求值。
(2)演示在求值中运算符栈,运算数栈、输入字符和主要操作的变化过程。
(3)设置运算符栈和运算数栈辅助分析算符优先关系。
(4)在读入表达式的字符序列的同时,完成运算符和运算数的识别处理,以及
相应的运算。
(5)在识别出运算数的同时,要将其字符序列形式转换成整数形式。
-compiled an arithmetic expression for a value of the procedure) to form the sequence of characters from the terminal input expression, Operators achieve expression of the value. (2) demonstration at the University of value Operators stack, operand stack, and the main characters in the importation of the process of change operation. (3) The provision of Operators and operand stack Stack aided analysis operator precedence relations. (4) read into the expression of the sequence of characters, complete Operators and operands identification, and the corresponding operation. (5) identified several operations at the same time, his sequence of characters forms into integer form.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
EX25.c
www.dssz.com.txt
www.dssz.com.txt
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.