搜索结果

找到约 275 项符合 VOID 的查询结果

其他 数据结构(严慰敏)配套纯c代码实验十 typedef int InfoType // 定义其它数据项的类型 typedef int KeyType // 定义RedType类型的关键字为整型

数据结构(严慰敏)配套纯c代码实验十 typedef int InfoType // 定义其它数据项的类型 typedef int KeyType // 定义RedType类型的关键字为整型 struct RedType // 记录类型(同c10-1.h) { KeyType key // 关键字项 InfoType otherinfo // 其它数据项 } typedef char KeysType // 定义关键字类型为字符型 #include"c ...
https://www.eeworm.com/dl/534/266759.html
下载: 173
查看: 1591

源码 成绩查询系统

#include<stdio.h> #include<string.h> #include<stdlib.h> #define N 100 int iNumOfStu=0; struct score   {   float math;   float english;   float computer;   }; struct student   {   int number ...
https://www.eeworm.com/dl/520134.html
查看: 84

PCB图/BOM单/原理图 单片机课程设计

#include<reg52.h>  #include<intrins.h> #define LED P0 sbit KEY0=P2^0;  //定义按键输入端口 A    sbit KEY1=P2^1;  //定义按键输入端口 B    sbit KEY2=P2^2;  //定义按键输入端口 C unsigned int Led_table[8]={0xfe,0xfc,0xf8,0xf0,0xe0,0xc0,0x80,0x00}; char Led_num=0 ...
https://www.eeworm.com/dl/508925.html
下载: 1
查看: 47

单片机编程 用C51写的普通拼音输入法源程序代码

用C51写的普通拼音输入法源程序代码:原作使用了一个二维数组用以查表,我认为这样比较的浪费空间,而且每个字表的索引地址要手工输入,效率不高。所以我用结构体将其改写了一下。就是大家现在看到的这个。  因为代码比较的大,共有6,000多汉字,这样就得要12,000 byte来存放GB内码,所以也是没办法的.编译结果约为3000 ...
https://www.eeworm.com/dl/502/31454.html
下载: 191
查看: 1135

单片机编程 16 16点阵显示汉字原理及显示程序

16 16点阵显示汉字原理及显示程序 #include "config.h" #define                DOTLED_LINE_PORT        PORTB #define            &nbs ...
https://www.eeworm.com/dl/502/31574.html
下载: 68
查看: 1214

单片机编程 24c16读写驱动程序

24c16读写驱动程序,//=-------------------------------------------------------------------------------/*模块调用:读数据:read(unsigned int address)写数据:write(unsigned int address,unsigned char dd)   dd为要写的 数据字节*///-------------------------------------------------------------------- ...
https://www.eeworm.com/dl/502/31459.html
下载: 23
查看: 1174

源码 二叉树子系统

#include<stdio.h> #define TREEMAX 100 typedef struct  BT { char data; BT *lchild; BT *rchild; }BT; BT *CreateTree(); void Preorder(BT *T); void Postorder(BT *T); void Inorder(BT *T); void Leafnum(BT *T); void Nodenum(BT *T); int TreeDepth(BT *T); int count=0; void main() { BT *T=NULL; char ...
https://www.eeworm.com/dl/522520.html
查看: 139

单片机编程 DS1302+AT89S52+LED时钟程序(C语言源代码+

#include<reg51.h>/*************************ds1302与at89s52引脚连接********************/sbit T_RST=P3^5; sbit T_CLK=P3^6;                 sbit T_IO=P3^7;           &n ...
https://www.eeworm.com/dl/502/31446.html
下载: 109
查看: 1110

技术资料 基于STM32F4xx和UCOSIII设计的贪吃蛇小游戏

本源代码是基于STM32F4xx硬件平台设计的贪吃蛇小游戏,主要难点在:随机点产生、贪吃蛇转向、贪吃蛇贪吃点;本部分主要接收产生随机点,产生随机点需要注意两个方面:1、随机点在有效的范围内;2、贪吃点与贪吃蛇不重合。产生随机点主要有两个函数,分别如下://随机数产生任务void  rng_chansheng(void *p_arg){OS_ER ...
https://www.eeworm.com/dl/841332.html
下载: 9
查看: 3048

源码 矩阵式键盘

include<reg52.h> #define uint unsigned int #define uchar unsigned char uint temp,aa,wang,qian,bai,shi,ge; sbit dula=P2^6; sbit wela=P2^7; uchar code table[]={ 0x3f,0x06,0x5b,0x4f, 0x66,0x6d,0x7d,0x07, 0x7f,0x6f,0x77,0x7c, 0x39,0x5e,0x79,0x71}; void display( uint wa ...
https://www.eeworm.com/dl/747398.html
查看: 67