搜索结果
找到约 873 项符合
DO-WHILE 的查询结果
源码 运动会源代码
#include&nbsp;<malloc.h>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;
#include&nbsp;<stdio.h>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;
#include&nbsp;<stdlib.h>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;
#include&nbsp;<string.h>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;
#define&nbsp;NULL&nbsp;0&nbsp;&nbsp; &nbsp;&nbsp ...
源码 学生成绩管理啊
#include "string.h"
#include "ctype.h"
#include "stdio.h"
search(char pd[])
{FILE *fp;
&nbsp;int time=0,i=0,j=0,add[80],k=0,m;
&nbsp;char *ch,
&nbsp;str[900];
&nbsp;m=strlen(pd);
&nbsp;if((fp=fopen("haha.txt","r"))==NULL)
&nbsp;{
&nbsp; printf("Cannot open this file\n");
&nbsp; exit(0);
&nbsp;}
for( ...
源码 c#简单计算器
// 学生管理.cpp : Defines the entry point for the application.
//
#include "stdafx.h"
#include "resource.h"
#define MAX_LOADSTRING 100
// Global Variables:
HINSTANCE hInst; // current instance
TCHAR szTitle[MAX_LOADSTRING]; // The title bar text
TCHAR szWindowClass[MAX_LOADSTRING]; ...
软件 简单的计算器
// 学生管理.cpp : Defines the entry point for the application.
//
#include "stdafx.h"
#include "resource.h"
#define MAX_LOADSTRING 100
// Global Variables:
HINSTANCE hInst; // current instance
TCHAR szTitle[MAX_LOADSTRING]; // The title bar text
TCHAR szWindowClass[MAX_LOADSTRING]; ...
书籍 Bio Medical CMOS IC
A major societal challenge for the decades to come will be the delivery of effective
medical services while at the same time curbing the growing cost of healthcare.
It is expected that new concepts-particularly electronically assisted healthcare will
provide an answer. This will include new devices, ...
笔记 matlab流程语句
程序流程语句
1、 if 语句
2、 switch 语句
3、 while 语句
4、 for 语句
5、循环的嵌套
6、其他流程控制语句
软件 PL0语言设计一个词法分析器
PL0语言是与pascal类似的语言,但是比pascal语言的词法、语法更加严格苛刻。
在PL0语言中,只有五种类型的单词:关键字、用户自定义标识符、数字、特殊符号以及非法标识符。
根据题目给出的PL0的文法,关键字只有如下几个:
Const——用来声明常量;
Var——用来声明变量;
Procedure——用来声明过程;
...
源码 12345
/****************temic*********t5557***********************************/ &nbsp;&nbsp;
#include &nbsp; <at892051.h> &nbsp; &nbsp;
#include &nbsp; <string.h> &nbsp;&nbsp;
#include &nbsp; <intrins.h> &nbsp; &nbsp;
#include &nbsp; <stdio.h> &nbsp; &nbsp;
#define &nbsp; &nbsp;uchar &nbsp; &nbsp;unsign ...
笔记 一个按键控制的 10 级变速跑马灯试验
在本课中,我们要用一个按键来实现跑马灯的 10 级调速。这又会涉及到键的去抖的问
题。&nbsp;
本课的试验结果是,每按一次按键,跑马速度就降低一级,共 10 级。&nbsp;
这里我们又增加了一个变量 speedlever,来保存当前的速度档次。&nbsp;
在按键里的处理中,多了当前档次的延时值的设置。&nbsp;
请看程序:&nbsp;
―― ...
笔记 模拟 PWM 输出控制灯的 10 个亮度级别
LED 一般是恒流操作的,如何改变 LED 的亮度呢?答案就是 PWM 控制。在一定的
频率的方波中,调整高电平和低电平的占空比,即可实现。比如我们用低电平点亮一个 LED
灯,我们假设把一个频率周期分为 10 个时间等份,如果方波中的高低电平占空比是 9:1,
这是就是一个比较暗的亮度,如果方波中高低电平占空比是 10:0,这时 ...