登录
首页 » 数据结构 » C++数据结构,通过堆栈方式实现的表达式求值

C++数据结构,通过堆栈方式实现的表达式求值

于 2022-02-25 发布 文件大小:198.56 kB
0 173
下载积分: 2 下载次数: 1

代码说明:

本源代码是通过堆栈的结构,可以实现表达式求值。可以实现如下功能:1.区分括号2.判断表达式的形式是否有错3.判断小数和整数4.根据符号的优先级能够自动给出计算顺序。5.包中含有表达式求值的详细思路PPT。

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

发表评论

0 个回复

  • 最段路径算法C++实现 实现工程清晰可见 仅供参考
    最段路径算法C++实现 实现工程清晰可见 仅供参考-Most paragraphs path algorithm C++ Realize realize the project clearly visible for reference only
    2022-01-30 15:48:14下载
    积分:1
  • 酒店管理系统,有库,课程设计的很好选择,欢迎下载
    酒店管理系统,有数据库,课程设计的很好选择,欢迎下载-Hotel Management System, a database, curriculum design, a good choice, welcome to download
    2022-12-14 13:10:03下载
    积分:1
  • 单纯形法,可以用于进行线性规划解的求取。在学上有一定的应用价值,但速度上可能不太优化,如果对速度有要求的,可参考MATLAB...
    单纯形法,可以用于进行线性规划解的求取。在数学上有一定的应用价值,但速度上可能不太优化,如果对速度有要求的,可参考MATLAB-Simplex method, linear programming solution can be used to carry out the strike. In mathematics there is a certain value, but the speed may not be optimized for speed if required, can refer to MATLAB
    2023-06-28 19:55:03下载
    积分:1
  • Access库下实现的系统,功能很强大,适合初学者学习~
    Access数据库下实现的系统,功能很强大,适合初学者学习~-Implemented under the Access database system, function is very powerful, suitable for beginners to learn ~
    2022-04-25 16:13:15下载
    积分:1
  • new database system using php
    new database system using php
    2022-08-13 20:22:40下载
    积分:1
  • 随着市场经济的快速发展,国内医药企业…
    随着市场经济的迅猛发展,国内医药企业的竞争也日趋激烈。企业内部的信息管理急需信息化。针对鑫诚药业有限公司的业务情况和企业发展的要求,设计并建立该公司的医药基础信息管理系统。解决企业对于药品信息、员工信息、客户信息以及供应商信息的管理问题。通过该系统,可以快速的获取有关药品、员工、客户及供应商的基础信息。-With the rapid development of market economy, the domestic pharmaceutical enterprises and competition is increasingly fierce. Enterprise information management in urgent need of information technology. Cheng Xin Pharmaceutical Co., Ltd. for the business situation and business requirements of the development, design and build the basis of the company
    2022-03-10 04:31:35下载
    积分:1
  • 此函的功能是依次选出两个小的,不要求原来组中的按大小顺序排列。...
    此函数的功能是依次选出两个小的数,不要求原来数组中的数按大小顺序排列。-The function of this function are followed by two smaller number of elected and does not require a number of the original array by the size of order.
    2022-12-02 01:55:03下载
    积分:1
  • 以一个Maze(m, n)的长方阵表示迷宫, 迷宫的入口是Maze(1,1), 出口是Maze(m, n), Maze(i,j)等于0表示通路, Maze(i,...
    以一个Maze(m, n)的长方阵表示迷宫, 迷宫的入口是Maze(1,1), 出口是Maze(m, n), Maze(i,j)等于0表示通路, Maze(i,j)等于1表示障碍。设计一个程序,对任意设定的迷宫,求出一条从入口到出口的通路,或得出没有通路的结论。各个命令以及相关数据的输入格式如下: 输入迷宫:C,接下来一行是m n,其中m是迷宫矩阵行数,n是迷宫矩阵列数,接下来的m行数据是迷宫矩阵,每行n个值,表示一个m*n的迷宫矩阵 求迷宫的一条通路:Q 当输入的命令为E时,程序结束-With a Maze (m, n), said the long square maze, the maze entrance is a Maze (1,1), exports is the Maze (m, n), Maze (i, j) is equal to 0, said channel, Maze (i, j) is equal to 1, said barrier. Designing a program, for any set of the maze, find a path from the entrance to the export, or come to the conclusion there is no path. The various commands and data input format is as follows: Enter the Labyrinth: C, followed by his party mn, where m is the maze of matrix rows, n is a maze of matrix columns, the next line of data is a maze m matrix, each row n- value, indicating an m* n matrix of the labyrinth a maze of pathways: Q when the input command for the E, the end of the process
    2023-04-15 19:50:03下载
    积分:1
  • 预测算法,主要是一元n次方程的回归预测实现。* 预测分析...
    数据预测算法,主要是一元n次方程的回归预测实现。* 预测分析--本算法只适用于有明显线性趋势的数据 * 默认为一元二次曲线方程法 * * 本程序主要涉及有两个算法 * 1.用最小二乘原理找到线性方程组的系数和常数。 * 2.解线性方程组 * 本程序在解线性方程组中,由于考虑到收敛性问题未采用迭代法,而是采用Gauss-Jordan消去法来解决。-data prediction algorithm is mainly one yuan n equation forecast to achieve reunification.* Forecast and Analysis-- This algorithm applies only to clear linear trend data* default as a quadratic curve equation method** The procedure involves two main algorithm* 1. Using the principle of least squares linear equations to find the constants and coefficients.* 2. The solution of linear equations* The procedure for solving linear equations, due to convergence problems using iterative method, instead of using the Gauss-Jordan elimination method to solve.
    2023-06-09 07:00:02下载
    积分:1
  • 访问db2库的VC封装,使用起来非常简单。
    访问db2数据库的VC封装,使用起来非常简单。-visit db2 VC Compliant database, it is very simple to use.
    2022-10-09 05:45:03下载
    积分:1
  • 696518资源总数
  • 106215会员总数
  • 5今日下载