-
expression
利用栈完成算术表达式求值:从键盘或文件中输入算术表达式,计算其结果并显示。要求处理过程为:(1)转换为后缀表达式并输出;(2)对后缀表达式求值并输出。
输入的表达式中可以有整数、实数、括号,运算符包括+、-、*、/、#(代表单目负)。可以多次输入不同的表达式进行计算,直到用户选择“退出”。栈的基本操作可以自己实现,也可以使用系统提供的STL实现。
(Done using an arithmetic expression evaluation stack: file input from the keyboard or an arithmetic expression, calculate and display the results. Requirements process: (1) to postfix expression and output (2) evaluation of the postfix expression and output. Enter the expression can be integers, real numbers, parentheses, operators including+,-,*,/,#( representatives unary minus). You can enter several different expressions are evaluated until the user selects " Exit." Stack can implement the basic operations, you can also use the system implementation of the STL.)
- 2011-10-30 14:14:01下载
- 积分:1
-
本文当为二叉树的演示程序,应用于学习研究
本文当为二叉树的演示程序,应用于学习研究-In this paper, as the binary tree demo program used in study
- 2023-08-23 16:15:03下载
- 积分:1
-
电子书中文件包括了十本讲数据结构的书(英文),很全面。...
电子书中文件包括了十本讲数据结构的书(英文),很全面。-electronic book which included a 10 stresses the data structure (English), very comprehensive.
- 2022-06-28 17:52:53下载
- 积分:1
-
basika
经典算法巴斯卡三角的简单实现,vs2010编译通过(Simple implementation of the classic algorithm Pascal triangle, vs2010 compiled by)
- 2012-10-30 13:22:26下载
- 积分:1
-
数据结构第三章中栈和队列的源程序,实现了全部算法
数据结构第三章中栈和队列的源程序,实现了全部算法-this is a code of data structure
- 2023-01-24 17:00:06下载
- 积分:1
-
FreeTree
无环连通图G=(V, E)亦称为自由树T,其直径是树中所有顶点之间最短路径的最大值,设计一个算法求T的直径(Acyclic connected graph G = (V, E) is also known as free tree T, whose diameter is the tree of shortest paths between all vertices maximum design an algorithm for the diameter of T)
- 2013-10-29 16:31:47下载
- 积分:1
-
1 knapsack problem, using VC++ Realize is that algorithm design more important i...
0-1背包问题,用VC++实现,是算法设计中比较重要的问题-0-1 knapsack problem, using VC++ Realize is that algorithm design more important issue
- 2022-06-26 01:28:51下载
- 积分:1
-
无向图的最小生成树程序,还不错哦~供大家分享,有文字说明...
无向图的最小生成树程序,还不错哦~供大家分享,有文字说明-Undirected graph of the minimum spanning tree procedure, but also good for your sharing ~ Oh, there are text
- 2022-08-05 11:30:08下载
- 积分:1
-
实现KMP算法。
经典的模式搜索算法。
实现KMP算法。
经典的模式搜索算法。-KMP algorithm realization. Classical algorithms.
- 2022-03-23 07:06:13下载
- 积分:1
-
霍尔这个好嗨嗨FDF FDF
实现网店工呢 ,留言,注册 及后台管理功能 购物车 ..等等 你下了自己看吧mysql 数据库 里面已经有数据库-HOLL THIS GOOD HI HI FDF FDF
- 2022-03-20 05:05:27下载
- 积分:1