- 博客(7)
- 收藏
- 关注
原创 单片机 键盘程序+仿真
#include<reg51.h> #define uchar unsigned char #define uint unsigned int sbit jia1=P3^3; sbit jian1=P3^4; sbit jia10=P1^0; sbit jian10=P1^1; uchar count=0; uchar code Tab[]={0xc0,0xf9,0xa4,0xb0,0x99,0x92,0x82,0xf8,0x80,0x90}; void delay(uint del) { ui
2022-11-17 18:03:13
565
原创 第四次实验,栈
C程序设计 第五版 谭浩强 著作 以下是程序 #include <stdio.h> #include <malloc.h> #define MaxSize 100 typedef char ElemType; typedef struct { ElemType data[MaxSize]; int top; } SqStack; void lnitStack(SqStack *&s) { s=(SqStack *)malloc(sizeof(SqS
2022-11-09 18:38:18
134
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人