搜索结果

找到约 624 项符合 INCLUDE 的查询结果

按分类筛选

显示更多分类

源码 c语言算法排序

1.Describe a Θ(n lg n)-time algorithm that, given a set S of n integers and another integer x, determines whether or not there exist two elements in S whose sum is exactly x. (Implement exercise 2.3-7.) #include<stdio.h> #include<stdlib.h> void merge(int arr[],int low,int mid,int high){   ...
https://www.eeworm.com/dl/514507.html
下载: 1
查看: 15

源码 点亮P10单元板单片机源程序

/*================================================================= 4扫16*16下入上出C语言程序, 低位起笔,数据反相。 预定义 **************************************************************/ #include #include //可使用其中定义的宏来访问绝对地址? bit ture=1; // 使能正反相位选择 bit false=0; / ...
https://www.eeworm.com/dl/514939.html
下载: 1
查看: 20

源码 12345

/****************temic*********t5557***********************************/    #include   <at892051.h>     #include   <string.h>    #include   <intrins.h>     #include   <stdio.h>     #define    uchar    unsign ...
https://www.eeworm.com/dl/515933.html
下载: 1
查看: 115

笔记 一个按键控制的 10 级变速跑马灯试验

在本课中,我们要用一个按键来实现跑马灯的 10 级调速。这又会涉及到键的去抖的问 题。  本课的试验结果是,每按一次按键,跑马速度就降低一级,共 10 级。  这里我们又增加了一个变量 speedlever,来保存当前的速度档次。  在按键里的处理中,多了当前档次的延时值的设置。  请看程序:  ―― ...
https://www.eeworm.com/dl/516025.html
下载: 1
查看: 60

笔记 模拟 PWM 输出控制灯的 10 个亮度级别

LED 一般是恒流操作的,如何改变 LED 的亮度呢?答案就是 PWM 控制。在一定的 频率的方波中,调整高电平和低电平的占空比,即可实现。比如我们用低电平点亮一个 LED 灯,我们假设把一个频率周期分为 10 个时间等份,如果方波中的高低电平占空比是 9:1, 这是就是一个比较暗的亮度,如果方波中高低电平占空比是 10:0,这时 ...
https://www.eeworm.com/dl/516026.html
下载: 2
查看: 77

笔记 编写一个程序,要求用户输入一年12个月每月的降雨总量,并采用一个float数组存储。

程序显示: 一年内总降雨量、平均每月的降雨量、降雨量最大的月份和最小的月份。 #include<iostream> using namespace std; #include<stdlib.h> int main() .. .. .. cout<<"降雨量最小的月份是:"<<minyue<<"月   "<<"降雨量为:"<<min<<endl; } ...
https://www.eeworm.com/dl/517028.html
下载: 3
查看: 1049

源码 数据结构实验

#include <stdio.h>   #include <stdlib.h> ///链式栈      typedef struct node   {       int data;       struc ...
https://www.eeworm.com/dl/517413.html
下载: 2
查看: 48

源码 数据结构实验

#include <iostream> #include <stdio.head> #include <stdlib.head> #include <string.head> #define ElemType int #define max 100 using namespace std; typedef struct node1 { ElemType data; struct node1 *next; }Node1,*LinkList;//链栈 typedef struct { ElemType *base; int top; }SqStack;// ...
https://www.eeworm.com/dl/517414.html
下载: 2
查看: 50

软件 道理特分解法

#include "iostream" using namespace std; class Matrix { private: double** A; //矩阵A double *b; //向量b public: int size; Matrix(int ); ~Matrix(); friend double* Dooli(Matrix& ); void Input(); void Disp(); }; Matrix::Matrix(int x) { size= ...
https://www.eeworm.com/dl/517487.html
下载: 2
查看: 30

源码 学生成绩管理

#include<stdio.h> #include<windows.h> int xuanxiang; int studentcount; int banjihao[100]; int xueqihao[100][10]; char xm[100][100]; int xuehao[100][10]; int score[100][3]; int yuwen; int shuxue[000]; int yingyu[100]; int c[100]; int p; char x[1000][100]="",y[100][100]="";/*x学院 y专业 z班级*/  ...
https://www.eeworm.com/dl/517591.html
下载: 4
查看: 36