-
数据结构堆栈之后缀表达式求值
此程序用的是后缀表达式求值的方法,其中用到了一个栈,而中缀表达式求值需用到两个栈(操作数栈和操作符栈),所以阅读程序前提是了解中缀表达式和后缀表达式
之间的转换,和后缀表达式求值的过程。关于他们之间的转换,我的概括为:中缀表达式:a*(b+c)-d/f ,先做b+c,即bc+;再做a*(b+c),即abc+*;然后做d/f,即df/;
最后做a*(b+c)-d/f,得abc+*df/-。关于后缀表达式求值过程请参照你的《数据结构指导书》P60~62(下文所指参照页均在此书)。程序里中有些我说的可有可无的东西,我已经说明
程序里只给出了+ - * / 四种运算,其它运算符若需要,
可向程序里插入。你的指导书堆栈实验里提示用到了“运算符重载”,所以添加其他运算时,有可能用到重载,但这里的四则运算我没用到,运算符重载是很重要的
- 2022-11-10 19:15:04下载
- 积分:1
-
先验频繁项集挖掘
这是 apriori 算法的数据挖掘工具。 c# 和.NET 2.0,很容易理解,您可以重写它,使它更有效率。
- 2022-04-02 06:52:46下载
- 积分:1
-
学籍管理系统软件,使教学人员及操作者进行学籍管理,方便操作者随时添加、查询、修改,使工作人员从繁琐的填表,查表工作中解放出来;使供需双方都获得满意的结果;促进报...
学籍管理系统软件,使教学人员及操作者进行学籍管理,方便操作者随时添加、查询、修改,使工作人员从繁琐的填表,查表工作中解放出来;使供需双方都获得满意的结果;促进报表、统计数字的规范化;提高工作效率;降低学籍管理维护费用,提高行政工作效率,改善服务质量,为学校领导决策提供支持,该软件的设计目标尽量达到人力与设备的节省,并且处理数据的速度提高。-Grade Management System software to enable the operator to conduct teaching staff and student status management, helping the operator at any time to add, query, modify, so that staff from the tedious filling, look-up table work, freed so that supply and demand both sides to obtain satisfactory results the promotion of reports, statistics, standardization improve work efficiency student status management to reduce maintenance costs, improve administrative efficiency and improve service quality, school leadership to support decision-making, the software is designed to reach as far as possible to save manpower and equipment, and processing data increase the speed.
- 2023-01-14 18:15:04下载
- 积分:1
-
Shortest Path Problem Description C
最短路径问题C++描述-Shortest Path Problem Description C
- 2022-01-27 14:10:42下载
- 积分:1
-
files useful about dsp programme
files useful about dsp programme
- 2022-07-19 09:04:15下载
- 积分:1
-
国际跳棋
国际跳棋,一种古老的棋类游戏。远在古埃及法老时期就已存在,现代国际跳棋是在12世纪定型的。 国际跳棋是由各国的民族跳棋演变而来。其历史源远流长。据史学家研究,跳棋起源于古埃及、古罗马、 请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
- 2022-03-16 12:54:06下载
- 积分:1
-
分支定界法可以求解小规模的TSP问题,这个例子是用vc编写的
分支定界法可以求解小规模的TSP问题,这个例子是用vc编写的-branch and bound method can solve small-scale TSP, this example was prepared by the vc
- 2023-05-30 03:30:03下载
- 积分:1
-
The long integer product strives for
长整数的乘积求余及应用,能使得大整数的乘积变为小程序- The long integer product strives for-odd and the application,
can cause the great integer the product to become the script
- 2022-10-04 06:55:03下载
- 积分:1
-
把数据库中已经存在的数据通过网络发送出去,实现数据共享...
把数据库中已经存在的数据通过网络发送出去,实现数据共享-Send the existed data in the database via network and share the data
- 2022-05-30 07:55:22下载
- 积分:1
-
Practice of information technology systems, the application of information techn...
信息技术练习系统,适用开高中信息技术课的使用-Practice of information technology systems, the application of information technology to open high school classes use
- 2022-03-21 06:58:13下载
- 积分:1