-
数据结构堆栈之后缀表达式求值
此程序用的是后缀表达式求值的方法,其中用到了一个栈,而中缀表达式求值需用到两个栈(操作数栈和操作符栈),所以阅读程序前提是了解中缀表达式和后缀表达式
之间的转换,和后缀表达式求值的过程。关于他们之间的转换,我的概括为:中缀表达式: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
-
Scheduling multi
实现多课程的排序问题,符合先修课程安排的要求,可给出多种排课方案!!本程序的亮点是可得出一组课程的所有可能的拓扑排序,故最终结果是多方案的-Scheduling multi-course meet the requirements of Pre-curriculum can be given a variety of arranging schedule the program! ! The highlight of this program can be drawn from a group of courses in all possible topological sort, so the end result is a multi-program! !
- 2023-02-05 17:00:03下载
- 积分:1
-
主要涉及ADO编程模型中的记录集。
主要涉及ADO编程模型中的记录集。-mainly involve ADO programming model of the records set.
- 2023-07-05 03:15:04下载
- 积分:1
-
这次毕业设计的内容,计算机数据库所需的翻译…
计算机数据库方面的有关内容,对需要毕业设计的外文翻译的同学有用-Computer database of the contents of the graduation project required the translation of foreign language students useful
- 2022-02-26 23:31:38下载
- 积分:1
-
data structure
数据结构-二叉树-data structure-Binary Tree
- 2022-09-08 23:40:03下载
- 积分:1
-
家谱管理系统
家谱管理系统
任务:实现具有下列功能的家谱管理系统
功能要求:
1). 输入文件以存放最初家谱中各成员的信息,成员的信息中均应包含以下内容:
姓名、出生日期、婚否、地址、健在否、死亡日期(若其已死亡),也可附加其它信息、但不是必需的。
2). 实现数据的存盘和读盘。
3). 以图形方式显示家谱。
4). 显示第n 代所有人的信息。
5). 按照姓名查询,输出成员信息(包括其本人、父亲、孩子的信息)。
6). 按照出生日期查询成员名单。
7). 输入两人姓名,确定其关系。
8). 某成员添加孩子。
9). 删除某成员(若其还有后代,则一并删除)。
10).修改某成员信息。
请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
- 2022-01-21 03:00:19下载
- 积分:1
-
一个对字串进行RAS方式加密的代码。 用于加密用户密码等敏感资料。 可以通过JSP页面进行调用...
一个对字串进行RAS方式加密的代码。 用于加密用户密码等敏感资料。 可以通过JSP页面进行调用-one pair of strings way for RAS encryption code. To encrypt user passwords and other sensitive information. JSP pages can be called for
- 2022-02-04 01:18:34下载
- 积分:1
-
医院管理系统
这个医院管理系统管理病人信息、 人员信息、 商店和药品、 计费并生成报告。这个复杂的应用程序与后端数据库服务器进行通信和管理医院物流相关的所有信息。
- 2023-01-12 12:10:04下载
- 积分:1
-
电子投票系统
该项目是一个在线投票系统,使学生能够通过在线投票而不费吹灰之力;
- 2022-11-24 02:45:03下载
- 积分:1
-
这是一个简单的数据库管理系统。它不使用任何其他的代码(即外径…
This a simple database management system. It doesn t use any other code (i.e. ODBC, ADO, etc.) and has it s own database file format. I wrote it because I found the other DBMSs code too bulky and hard to debug. It s designed for small applications and I doubt it could handle anything on a large scale. A sample program included in the .zip shows how everything works. The database project is a library project, so you ll have to compile and link with the .lib file to get everything working. Pros: - You have the source code so you know exactly what it is doing - Database files are very small - Small and fast code Cons: - Can t handle large amounts of records (more than 65000ish) - Doesn t support SQL (you have to search the database by cycling through the records and testing them against your constraints) - Each database file can only have one table.
-This a simple database management system. It doesn t use any other code (i.e. ODBC, ADO, etc.) and has it s own database file format. I wr
- 2022-04-20 06:29:24下载
- 积分:1