登录
首页 » C » 堆栈四则运算

堆栈四则运算

于 2022-07-17 发布 文件大小:2.87 kB
0 77
下载积分: 2 下载次数: 1

代码说明:

/* 在BC31下编译 或VC6.0*/ /* compile under Borland C++ 3.1 or Visual C++ 6.0*/ /*#include "stdafx.h"*/ #include "stdio.h" #include "string.h" #include "stdlib.h" #include "conio.h" #define TRUE 1 #define FALSE 0 #define STACK_INIT_SIZE 100/*存储空间初始分配量*/ #define STACKINCREMENT 20/*存储空间分配增量*/ typedef struct { int *pBase;/*在构造之前和销毁之后,base的值为NULL*/ int *pTop;/*栈顶指针*/ int StackSize;/*当前已分配的存储空间,以元素为单位*/ }Stack; typedef int BOOLEAN;   char Operator[8]="+-*/()#";/*合法的操作符存储在字符串中*/ char Optr;/*操作符*/ int Opnd=-1;/*操作符*/ int Result;/*操作结果*/ /

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

发表评论

0 个回复

  • kaifudexin.rar
    给创新工场求职者的一封信 有兴趣的看一下(Innovative workshops to job seekers interested in a look at a letter)
    2010-01-11 15:02:34下载
    积分:1
  • INote
    模仿小米做的便签,功能齐全,有桌面小组件(Imitation millet do notes, fully functional, there is a desktop widget)
    2013-11-28 17:23:59下载
    积分:1
  • c++最小生成树
    C++最小生成树代码,可以实现在VS环境下进行编译
    2022-08-04 00:34:11下载
    积分:1
  • QT44B0X_Wave
    S3C44B0播放WAV文件。不多说,看代码便知(S3C44B0 play WAV files. Not much to speak and read the code glance that)
    2009-09-13 23:20:34下载
    积分:1
  • FFT
    FFT源代码 FFT源代码 FFT源代码(FFT source code FFT source code FFT source code)
    2021-03-09 16:59:27下载
    积分:1
  • est
    测试程序 检测出++代码 测试程序 检测出++代码 测试程序 检测出++代码 测试程序 检测出++代码 测试程序 检测出++代码 测试程序 检测出++代码 测试程序 检测出++代码 (test programe test programe test programe test programe )
    2009-12-02 12:44:57下载
    积分:1
  • BS83B12A-3_ULIB_V10
    1.BS83B12A-3芯片内部外设程序库 2.V10支持时钟,定时器,EEPROM(1. BS83B12A- 3 chip internal peripherals library Block 2. V10 support clock, timer, EEPROM)
    2016-09-09 15:18:49下载
    积分:1
  • LLC 电源源码(含原理图)
    LLC 电源源码(含原理图)
    2020-12-11下载
    积分:1
  • BH1750
    基于89C51的光照模块程序,用的器件是BH1750。比较有用(89C51-based lighting module program, with the device is BH1750. More useful)
    2020-10-01 14:57:41下载
    积分:1
  • stm32_esp8266
    说明:  使用stm32f103连接dht11采集温湿度数据。将收到的数据通过esp8266上传到服务器端(Temperature and humidity data were collected by connecting STM32F103 with dht11. Upload the received data to the server through esp8266)
    2021-02-01 15:30:00下载
    积分:1
  • 696518资源总数
  • 105559会员总数
  • 1今日下载