登录
首页 » 算法 » 栈、队列、字符串和数组

栈、队列、字符串和数组

于 2022-03-03 发布 文件大小:330.50 kB
0 300
下载积分: 2 下载次数: 1

代码说明:

表达式计算是实现程序设计语言的基本问题之一。也是栈的应用的一个典型例子。设计一个程序,演示用算符优先法或转换成后缀表达式方法对算术表达式进行求值的过程。    以字符序列的形式从终端输入语法正确的、不含变量的整数表达式。利用教科书表3.1给出的算符优先关系,或课件中给出的中缀表达式向后缀表达式转换的方法,实现对算术四则混合运算表达式的求值,并仿照教科书和课件中的例子演示求值中运算符栈、运算数栈、输入字符和主要操作变化的过程

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • C#计算器
    using System; using System.Drawing; using System.Collections; using System.ComponentModel; using System.Windows.Forms; using System.Data; using System.Runtime.InteropServices; using System.IO; namespace 计算器 { /// /// Form1 的摘要说明。 /// public class Form1 : System.Windows.Forms.Form { private System.Windows.Forms.TextBox textBox1; private System.Windows.Forms.Label label1; private System.Windows.Forms.Button button1; private System.Windows.Forms.Button button2; private System.Windows.Forms.Button button3; private System.Windows.Forms.Button button4; private System.Windows.Forms.Button button5; private System.Windows.Forms.Button button6; private System.Windows.Forms.Button button7; private System.Windows.Forms.Button button8; private System.Windows.Forms.Button button9; private System.Windows.Forms.Button button11; private System.Windows.For
    2023-01-30 17:15:03下载
    积分:1
  • 灰色预测模型matlab程序
    灰色模型预测是在数据不呈现一定规律下可以采取的一种建模和预测方法,其预测数据与原始数据存在一定的规律相似性,下面程序是灰色模型GM(1,1)程序二次拟合和等维新陈代谢改进预测程序, 程序能够运行出正确的结果,希望对各位有帮助。
    2023-03-12 21:30:04下载
    积分:1
  • 串口,网口数据传输接口
    通过对串口和网口的封装,使其只调用一个接口,实例化自己的设备对象,就能够调用相应的读写操作,能够实现统一
    2022-03-03 13:03:19下载
    积分:1
  • 该程序用于计算幂积,它比普通的连乘方法要快得多,主要是它含有分治的思想。...
    该程序用于计算幂积,它比普通的连乘方法要快得多,主要是它含有分治的思想。-the procedures used in the calculation of power plot, it more than ordinary continually multiply much faster method, it is the partition containing the idea.
    2022-03-04 21:58:54下载
    积分:1
  • 离散傅立叶变换在视觉基本经典中的实现。
    A implementation of the discrete Fourier transform in visual basic classic.
    2022-01-27 16:59:12下载
    积分:1
  • heap + dijkstra
    Dijkstra是一种贪心的思想,它只适用与非负权图(SPFA可以用于负权图): 首先要知道一个三角定理,《算法导论》上面讲过,我这里就不论述了   定义: 请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
    2022-01-25 23:38:50下载
    积分:1
  • 等值线生成算法,用C编写的,用趋势面加权最小二乘法计算网格点高程。...
    等值线生成算法,用C编写的,用趋势面加权最小二乘法计算网格点高程。-Contour generation algorithm, written using C, using trend surface weighted least squares method to calculate grid point elevation.
    2023-06-21 21:55:03下载
    积分:1
  • Towers of Hanoi
    河内塔算法的应用。
    2022-01-24 18:47:57下载
    积分:1
  • 快速DCT算法32位的C语言实现,乘法次数最少,可嵌入编码器及解码器使用
    快速DCT算法32位的C语言实现,乘法次数最少,可嵌入编码器及解码器使用- Fast DCT the algorithm 32 C language realization, the multiplication number of times are least, may insert the encoder and the decoding use
    2022-08-19 10:04:59下载
    积分:1
  • 计算褶积的程序
    在我们不知信号个数时,进行褶积运算,这里用了动态数组控制。可以作为一个地球物理初学者经常用到的外部子程序。
    2022-08-13 02:05:20下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载