文件名称:suanshubiaodashi
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:10.82kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
这是我的数据结构课程设计,1. 初始化两个空栈,一个是操作符栈,一个是操作数栈。2. 如果字符是操作数,将它压入操作数栈。 如果字符是个操作符,则和运算符栈顶的运算符比较优先权后作相应操作,优先技小泽压入栈,大于则将栈顶的运算符出栈,并将运算数栈顶的两个数出栈进行运算。等于,则弹出操作符。-This is my data structure of the curriculum design, 1. Initialize two empty stacks, one stack operator, one is operand stack. 2. If the characters are operands, and place it into the operand stack pressure. If the character is an operator, the operator and operator of Top-comparison of priority after the corresponding operation, priority technical Ozawa入栈pressure than would be Top-Operators of the stack, and computing the number of Top-of carried out a stack of two the number of computing. Equivalent, then pop-up operator.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
suanshubiaodashi/算术表达式求值.doc
suanshubiaodashi/算术表达式求值wancheng.cpp
suanshubiaodashi
suanshubiaodashi/算术表达式求值wancheng.cpp
suanshubiaodashi
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.