-
计算器
用C语言写的关于计算器的实现方式,用栈方法能够实现基本的错误判断与加减乘粗#include #include #include using namespace std; #define MAX 1000 struct zhan1 { float n[MAX]; int top; }stack1; struct zhan2 { char n[MAX]; int top; }stack2; /* stack1用来存储数字 stack2用来存储运算符号. */bool stackempty(zhan1 s)//判断是否为空 { if (s.top== -1) return 1; else return 0; } bool stackempty2(zhan2 s)//判断是否为空 { if (s.top== -1) return 1; else return 0; } void push(zhan1 &s,float x)// 入栈 { if(s.top==MAX-1) { printf("
");
- 2022-07-08 12:40:11下载
- 积分:1
-
volume3D
使用vtk库开发的volume程序,主要用于建立多边形面片,用于演示三维体的算法。(Developed using VTK library volume procedures, set up primarily for polygon surfaces for the presentation of three-dimensional body algorithms.)
- 2009-02-18 16:45:24下载
- 积分:1
-
ado查询经典实例delphi源码.rar
ado查询经典实例delphi源码.rar-ado inquiries classic example delphi source. Rar
- 2022-03-06 15:56:52下载
- 积分:1
-
11032112326d2526bf92eec85a
格兰杰因果关系检验 matlab和C的源代码,可以直接输入(Granger causality test matlab and C source code can be entered directly)
- 2020-10-24 11:07:21下载
- 积分:1
-
pianoGame
DC环境编写的小游戏,包括钢琴、带音乐的“拾音符”和“避音符”游戏。(failed to translate)
- 2013-05-09 01:02:34下载
- 积分:1
-
g2553_02.g2553_internal clock
说明: msp430g2553,使用内部时钟,间隔一秒闪烁。.(msp430g2553, using an internal clock, flicker one second apart)
- 2019-04-28 14:54:31下载
- 积分:1
-
帧差法检测移动目标
说明: 对视频分帧,根据帧间差分法对视频中的移动物体检测(For video framing, moving objects in video are detected by frame difference method)
- 2020-05-16 23:27:26下载
- 积分:1
-
communication
一份红外通讯的编码设计,已经经过实验,支持一对多。(Encoding of an infrared communication design, and after the experiment, to support one to many.)
- 2012-04-11 11:42:38下载
- 积分:1
-
Copy of lab10_EPWM_aq
基于dsp28377的pwm波产生的完整工程文件(Complete engineering document produced by PWM wave based on dsp28377)
- 2020-12-01 15:39:26下载
- 积分:1
-
TSP_orC
TSP算法
1.C语言TSP算法
2.2-OPT,orOPT摄动
3.Main单独执行(TSP algorithm 1.C language TSP algorithm 2.2-OPT, orOPT perturbation separately 3.Main)
- 2008-04-18 13:33:04下载
- 积分:1