59源码
❶ 求c语言源代码 题目 学生成绩管理系统
#include <cstdlib>
#include <iostream>
using namespace std;
int main(int argc, char *argv[])
{ #define UP 72
#define DOWN 80
#define INSERT 82
#define DEL 83
#define ENTER 28
#define KEY 12
#define KEY 23
#define KEY 34
 #define KEY 45
#define KEY A 30
 #define KEY B 48
#define KEY C 46
#define KEY D 32
#define KEY E 18
 #define KEY F 33
#define KEY G 34
#define KEY H 35
 #define KEY I 23
 #define KEY K 37
#define KEY L 38
 #define KEY M 50
#define KEY N 49
#define KEY O 24
 #define KEY P 25
#define KEY Q 16
 #define KEY R 19
#define KEY S 31
 #define KEY T 20
#define KEY U 22
 #define KEY V 47
#define KEY W 17
 #define KEY X 45
#define KEY  Y 21
#define KEY  Z 44
#define ALT F2 105
 #define ALT F6 109
#define CTRL 4
 #define SHIFT 1
#define ESC 1
#define BACKSPACE 14
#define LEN sizeof(struct student)
/*菜单选项。下拉标志*/
int menu x yes=1;
int menu y yes=0;
int menu x=1;
int menu x old=0;
int menu y1=1, menu y3=1;
/*保存文件名*/
char filename[43]="NONAME.dat";
/*开辟保存数据的空间*/
void *buf=0;
int left,top,right,bottom;
/*开辟保存数据的空间*/
struct student
{ long num;
char name[15];
float h maths;
float english;
float c;
float sum;
int s sum;
struct student*next;
};
struct student*head=0,*p1,*p2;
int record n;
char key buf[50];
long student number=0;
char student name[13];
float student score=0;
/*读键扫描码*/
char get key(void)
{ AH=0;    int (0X16);    return( AH); }
/*显示字符*/
void show char(char z)
{  AL=z;   AH=0x0e;   int  (0x10);}
/*测试是否有键输入*/
int key pressed(void)
{  AH=0x0b;   int (0x21);   if(  AL==0)    return(0);   else return(1);}
/*退出程序*/
voidquit(void)
{  void free data(void);void restore menu(void); free data();
restore menu();    window(1,1,80,25,0x0f);
cur show();  gotoxy(1,1);  exit(1);
}
/*回到dos提示符*/
void os shell(void)
{void mainmenu show(void);
window(1,1,80,25,0x0f);
cur show();  gotoxy(1,1);  system("");
mainmenu show();
}
/*主窗口文字*/
void main menu 1(void)
{ int i,j;   char*p;
char*mainmenu word[]={"File   ","Save  ","Options   ","About me"};
if(menu x!=menu x old||!menu y yes)
{p=mainmenu word[0];
putstr(4,1,0x70,p,35);
for(i=0;i<35;i++)   if(*p++<='Z')  putchar(i+4,1,*(p-1),0x74);
p=mianmenu word[0];
if(menu x yes)
for(i=0;j=0;i<35;i++)
{it('A'<=*p&&*(p+1)=='')break;
putchar(i+4,1,*p,0x0f);   }
p++;  }
}
}
void main menu 2(void)
{  int i;  int len;  char *p;
char*mainmenu word[6]={"F1-Help","F2-Save","F5-OS shell","F10-Menu","Message"};
void main box(void);  main box();
p=mainmenu word[0];   putstr(2,25,0x70,p,42);
for(i=0;i<42;i++)    {if(*p=='F'||('0'<=*p&&*p<='9'))putchar(i+2,*p,0x74);  p++;   }
p=mainmenu word[4];  putstr(36,22,0x17,p,9);  len=strlen(filename);
putchar(40-len/2-1,2,'',0x17);
for(p=filename,i=0;*p!=0;p++;i++)   putchar(40-len/2+i,2,*p,0x17);
putchar(40-len/2+len,2,'',0x17);
}
/*主窗口线框*/
void main box(void)
{  int i;
for(i=1;i<=80;I++)  {putchar(i,2,205,0x17);  putchar(i,22,196,0x17);putchar(i,24,196,0x17);}
for(i=1;i<=80;i++)  {putchar(1,i,179,0x17);  putchar(80,i,179,0x17);  }
putchar(1,2,213,0x17);  putchar(80,2,184,0x17);    putchar(1,22,195,0x17);
putchar(80,22,180,0x17);  putchar(1,24,192,0x17);  putchar(80,24,217,0x17);
}
/*显示主窗口菜单*/
voidmianmenu show (void)
{  textmode set();  cur hide();
window(1,1,80,25,0x1e);
window(1,1,80,1,0x70);
window(1,25,80,25,0x70);
main menu 10;  main menu  20;
}
/*显示下拉菜单*/
void menu show (void)
{  int i;
char*submenu word[][5]={{"New file  F4","Open file F3","OS shell  F5","Quit Alt-X"},
p"Input    F6","Delete    F8","Update   F9","query     F11","Sort   F12"}};
switch(menu x)
{case 1:
if(menu x!=menu x old)
{menu x old=menu x;  menu window(3,2,18,8);    menu box(3,2,18,8,3,0);}
for(i=0;i<2;i++)
{putstr(4,3+i,0x70,submenu word[0][i],14);
putchar(5,3+i,*(submenu word[0][i]+1),0x74);  }
for(i=3;i<5;i++)  putstr(4,3+i,0x7-,submenu word[0][i-1],14);
putchar(6,6,*(submenu word[0][2]+2),0x74);
putchar(5,7,*(submenu word[0][3]+1),0x74);
window(4,2+menu y1,17,2+menu y1,0x0f);
if(menu y1<=2)
putstr(4,2+menu y1,0x0f,submenu word[0][menu y1-1],14);
else
putstr(4,2+menu y1,0x0f,submenu word[0][menu y1-2],14);     break;
case 2:menu x old=menu x;   menu window(19,2,44,8);}
for(i=0;i<5;i++)
{putstr(20,3+i,0x70,submenu word[1][i],24);
putchar(21,3+i,*(submenu word[1][i]+1,0x74);   }
window(20,2+menu y3,43,2+menu y3,0x0f);
putstr(20,2+menu y3,0x0f,submenu word[1][menu y3-1],24);   break;
case 4:menu x old=menu x;    }
}
/*清空键盘缓冲*/
void clr buf(void){  key buf[1]=0;}
void free data(void)
{  struct student*pa,*pb;
if(head)
{pb=pa=head;
do{  pb=pa;  pa=pb->next;   free(pb);}while(pa!=0);head=0;      }
}
/*姓名处理*/
int string name(void)
{  int i,j;
if(key buf[1]==0) return(0);
for(i=2,j=0;i<=key buf[1]+1;i++;j++)
student name[j]='\0';     return(1);}
/*输入数据*/
voidinput(int flag)
{  int i;  char*s1="NO.   Name  H maths English  C\\C++   ";
char*s2="   |      |      |       |     ";
char*title="INPUT";   menu window(15,10,64,14);   window(17,12,62,12,0x17);
putstr(37,10,0x70,title,7);    putstr(17,11,0x70,s1,46);
if(head==0)
{  head=p1=p2=(struct student*)malloc(LEN);if(!head)memory error();
p1->next=0;
else{
for(p1=head,record n=0;p1!=0;record n++)
{  p2=p1;   p1=p2->next;      }
p1=(struct student*)malloc(LEN);
if(!p1)memory error();
p2->next=p1;   }
while(1)
{record n++;  putstr(17,12,0x07,s2,46);
if(flag==1)
{gotoxy(52,13);  printf("Record%d",record n);   }
do{   window(17,12,26,12,0x07);
if(!getstring(17,12,10))goto out ;
}while(!getstring number());
p1->num=student number;
do{   if(!getstring(28,12,12)) goto out;
}while(!string name());
strcpy(pi->name,student name);
for(i=1;i<=3;i++)
{  do{  window(41+(i-1)*8,12,0x07);
if(!getstring(41+(i-1)*8,12,5)) gotoout;
}while(!string score());
if(i==1)p1->h maths=student score;
if(i==2)pi->english=student score;
if(i==3)p1->c=student score;  }
p1->sum=0.0;    p1->s num=0;
if(flag==2){record n--;goto out;}
p2=p1;
p1=(struct student*)malloc(LEN);
if(!p1)memory error();
p1->next=0;   p2->next=p1;   }
out: cur hide();   window(15,10,65,15,0x1e);
if(flag==1)   {if(head==p1)head=0;  free(p1);     p2->next=0;   info(1);   record n--;    }
menu x yes=1;    main menu 1();
}
/*查看是否有该成绩*/
struct student* search(int flag)
{   struct  student8pa,*pb;   if(head==0)return(0);  pb=pa=head;
if(flag==1)
{if(head->num==student number) return(head-1);
do{  if(pa->num==student number) return(pb);
pb=pa;  pa=pb->next;} while(pa!=0);     }
return (0);
}
/*查询,删除,修改对话框*/
struct student*msg box(int which)
{  int flag;  int key;  char*p="<-A B->";   menu window(22,10,60,14);  gotoxy(29,11);
printf("Number  OR  Name");    window(24,12,58,12,0x07);    gotoxy(24,12);
printf("         |          ");   gotoxy(37,10);
switch(which)
{  case 1:printf("Delete");break;
case 2:printf("Update");break;
case 3:printf("Query");break;   }
do{    while(!key pressed())
   now time();
key=get key();   if(key==KEY A)  {flag=1;break;}
if(key==KEY B) {flag=2;break;}   printf("\07");
}while(1);
putstr(37,13,0x64,p,7);
if(flag==1)
{ do{
gotoxy(24,12);   printf("       |        "):
if(!getstring(24,12,10))  goto out;
}while(!string number());
window(22,10,61,15,0x1e);  return(search(1));          }
else
{do{  gotoxy(24,12);   printf("          |          ");
if(!getstring(41,12,12)) goto out;
}while(!string name());
window(22,10,61,15,0x1e);    return(0);}
/*删除记录*/
void delete(void)
{   struct  student*pa,*pb;   pb=msg box(1);    if(pb==0)info(3);
else
{  if(pb==(head-1))
{  pb=head;   if(pb->next==0) head=0;
else head=pb->next;  }
else
{ if(pb->next->next==0) {pb->next=pa;  }    }
record n--;   info(2);    }}
/*删除记录*/
void update(void)
{int i;   struct student*p;   i=record n;  p=msg box(2;
if(p==0)info(3);
else
{ input(2);
if(i==record n)
{if(p==(head-1)){
head->num=p1->num;  strcpy(head->name,p1->name);
head->h maths=p1->h maths;   head->english=p1->english;
head->c=p1->c;  free(p1);   p2->next=0;   }
else   {  p->next->num=p1->num;   strcpy(p->next->name,p1->name);
p->next->h maths=p1->h maths;   p->next->english=p1->english;
p->next->c=p1->c;   free(p1);    p2->next=0;   }
info(4);   }
else {record n--;p2->next=0;free(p1);info(5);}      }}
/*查询成绩*/
void query(void)
{   struct student*p,*pa,*pb;   int key ,flag,i,j;
char*str="NO.    Name H matns   English     C\\C++      Sum  S NO.";
char*sm="NO.   Name h maths   English     C\\C++      (who fails)";
menu window(26,10,56,12);   gotoxy(28,11);  printf("Find     Fail");
putchar(33,11,'A',0xe4);   putchar(49,11,'B',0xe4);
do{if(!key pressed()) now time();
key=get key();
if(key==KEY A){flag=1;break;}
if(key==KEY B){flag=2;break;}
printf("\07");    }while(1);
window(26,10,57,13,0x1e);    if(flag==1)
{  p=msg box(3);    if(p==0)     info(3);
else{window(6,5,76,21,0x0e);   window(5,4,75,20,0x5e);      window(6,5,74,19,0x0e);
putstr(13,4,0x5a,str,58);    gotoxy(6,6);
if(p!=(head-1)){pa=p->next;p=pa;}
else p=head;
printf("%101d%13s%8.1f%9.1f%9.1f%9.1f%6d\n",\
p->num,p->name,p->h maths,p->english,p->c,p->sum,p->s sum);
}}
if(flag==2)
{   window(6,5,76,21,0x0e);window(5,4,75,20,0x5e);   window(6,5,74,19,0x0e);
putchar(13,4,0x5a,sm,59);    if(head)
{   pa=head;    j=0;
do{  j++;    i=0;  window(6,5,74,19,0x0e);      gotoxy(65,20);
printf("Page%d",j);
do
{   if(pa->c<60||pa->h maths<60||pa->english<60)
{gotoxy(6,6+i);    i++;
printf("%101d%13s%8.1f%9.1f%9.1f%9.1f%6d\n",\
p->num,p->name,p->h maths,p->english,p->c,p->sum,p->s sum);}
pb=pa;   pa=pb->next;    }while(i!=13&&pa!=0);
while(!key pressed())    now time();
get key();    }while(pa!=0);
goto out;}}
while(!key pressed())
now time();get key();
out:window(5,4,76,21,0x1e);}
/*成绩排名*/
void sort(void)
{  int i,j,n,flag;    struct student*pa=0,*pb=0;
struct student*p[500],*pmin;
char*str="NO.    Name H maths    English     C\\C++    Sum  S NO.";
window(6,5,76,21,0x0e);     window(5,4,75,20,0x5e);        window(6,5,74,19,0x0e);
putstr(13,4,0x5a,str,58);    window(60,20,73,20,0x5b);
if(head!=0)
{   i=0;  pb=pa=head;
do
{p[i]=pa;   i++;    pa->sum=pa->h maths+pa->english+pa->c;
pb=pa;     pa=pb->next;  }while(pa!=0);
for(n=record n-1,i=0;i<n;i++)
{   flag=0;
for(j=0;j<n-i;j++)
if(p[j]->sum<p[j+1]->sum)
{ pmin=p[j];   p[j]=p[j+1];    p[j+1]=pmin;   flag=1;    }
if(flag==0)break;    }
head=pb=pa=p[0];   head->s sum=1;
if(record n>1)
  for(i=1;i<record n;i++)     {   pa->s sum=i;  pb=pa;  pa=pb->next=p[i];}
p2=p1=p[record n-1];   p1->s sum=record n;
p1->next=0;   pb=pa=head;
j=0;
do{
j++;i=0;   window(6,5,74,19,0x0e);   gotoxy(65,20);   printf("Page%d",j);
do
{gotoxy(6,6+i);   i++;
printf("%101d%13s%8.1f%9.1f%9.1f%9.1f%6d\n",\
p->num,p->name,p->h maths,p->english,p->c,p->sum,p->s sum);}
pb=pa;   pa=pb->next;    }while(i!=13&&pa!=0);
while(!key pressed())    now time();
get key();    }while(pa!=0);
goto out;}
while(!key pressed())
now time();get key();
out:window(5,4,76,21,0x1e);}
/*输入文件名*/
int input filename(int m)
{ char*p;    int fp;    menu window(19,10,64,12);
window(20,11,63,11,0x07);
gotoxy(35,10);      printf("File name");
if(!getstring(20,11,40))    goto no;
if(key buf[1]==0)   goto no;
p=key buf+2;    key buf[key buf[1]+2]='\0';
if(fp=fopen(p,"rb+"))==0)
{if(m==2)  goto no;   if(fp=fopen(p,"wb+"))==0  goto no;   }
fclose(fp);    strcpy(filename,p);
yes:   window(19,10,65,13,0x1e);
return(1);
no:    window(19,10,65,13,0x1e);
return(0);
}
/*新建文件*/
void new file(void)
{  int fp;
if(input filename(1)==0) info(9;
else
{main menu 2();    free data();   fp=fopen(filename,"wb+");   fclose(fp);   info(10);      }
}
/*打开文件*/
void open file(void)
{  struct student*pa,*pb;  int fp;
if(input filename(2)==0)info(6);
else
{free data();  head=pb=pa=(struct student*)malloc(LEN); fp=fopen(filename,"rb+";
fread(&pa->num,LEN,1,fp);}
info(8);   fclose(fp);  input(1);   }}
/*保存文件*/
void save fiel(void)
{  struct student8pa,*pb;   int fp;
if((fp=fopen(filename,"rb+"))==0) fp=fopen(filename,"wb+");
pb=pa=head;
if(fp!=0&&head!=0)
{do{fwrite(&pa->num,LEN,1,fp);  pb=pa;    pa=pb->next;}while(pa!=0);
fclose(fp);     }
info(7);
}
void about me(void)
{   int i;   char*title="About Me";    char*str[]={"     I'M A BIG.BIG WORLD.    "};
menu window(20,5,58,18);    putstr(35,5,0x70,title,10);
for(i=0;i<12;i++)putstr(25,6+i,0x75,str[i],29);
while(!key pressed())       now time();
get key();    window(20,5,59,19,0x1e);
}
    system("PAUSE");
    return EXIT_SUCCESS;
}
❷ c语言程序代码
#include<stdio.h>
#define N 200
struct child
{
 char name[10];
 char sex[3];
 int age;
 int height;
 float weight;
 struct {
  int year;
  int month;
  int day;
 }bdate;
}ch[N];
void input()
{
 int i;
 for(i=0;i<N;i++)
 {
  printf("\n请输入第%d名小朋友信息:\n",i+1);
  printf("姓名:");
  scanf("%s",ch[i].name);
  printf("性别:");
  scanf("%s",ch[i].sex);
  printf("年龄:");
  scanf("%d",&ch[i].age);
  printf("身高:");
  scanf("%d",&ch[i].height);
  printf("体重:");
  scanf("%f",&ch[i].weight);
  printf("出生日期[YYYY-MM-DD]:");
  scanf("%d-%d-%d",&ch[i].bdate.year,&ch[i].bdate.month,&ch[i].bdate.day);
 }
}
void sort()
{
 struct child ct;
 int i,j;
 for(i=0;i<N-1;i++)
  for(j=0;j<N-i-1;j++)
   if(ch[j].height<ch[j+1].height)
   {
    ct=ch[j];
    ch[j]=ch[j+1];
    ch[j+1]=ct;
   }
}
void output()
{
 int i;
 printf("\n\t幼儿园小朋友一览(依身高排序)\n");
 printf("===================================================\n");
 printf(" 姓名    性别   年龄   身高    体重     出生日期 \n");
 printf("===================================================\n");
 for(i=0;i<N;i++)
  printf(" %-8s %-2s    %2d     %d     %3.1f     %d.%d.%d\n",ch[i].name,ch[i].sex,ch[i].age,ch[i].height,ch[i].weight,ch[i].bdate.year,ch[i].bdate.month,ch[i].bdate.day);
}
void main()
{
 input();
 sort();
 output();
}
//分给的忒少,呵呵
❸ 求任何网络游戏源码
魔兽世界的
❹ 求一C++小游戏源代码简单点的!!谢谢
#include #include #include #define LEFT 0x4b00 #define RIGHT 0x4d00 #define DOWN 0x5000 #define UP 0x4800 #define ESC 0x011b int i,key; int score=0; int gamespeed=32000; struct Food /*食物的结构体*/ { int x; /*食物的横坐标*/ int y; /*食物的纵坐标*/ int yes; /*食物是否出现的变量*/ }food; struct Snack /*蛇的结构体*/ { int x; int y; int node; /*蛇的节数*/ int direction; /*蛇的方向*/ int life; /*蛇的生命,0活着,1死亡*/ }snake; void Init(void); /*图形驱动*/ void Close(void); /*关闭游戏函数*/ void DrawK(void); /*画图函数*/ void GameOver(void);/*输出失败函数*/ void GamePlay(); /*游戏控制函数 主要程序*/ void PrScore(void); /*分数输出函数*/ DELAY(char ch)/*调节游戏速度*/ { if(ch=='3') { delay(gamespeed); /*delay是延迟函数*/ delay(gamespeed); } else if(ch=='2') { delay(gamespeed); } } Menu()/*游戏开始菜单*/ { char ch; printf("Please choose the gamespeed: "); printf("1-Fast 2-Normal 3-Slow "); printf(" Please Press The numbers.. "); do {ch=getch();} while(ch!='1'&&ch!='2'&&ch!='3'); clrscr(); return(ch); } /*主函数*/ void main(void) { int ch; ch=Menu(); Init(); DrawK(); GamePlay(ch); Close(); } void Init(void) { int gd=DETECT,gm; initgraph(&gd,&gm,"c:\tc"); cleardevice(); } void DrawK(void) { setcolor(11); setlinestyle(SOLID_LINE,0,THICK_WIDTH); for(i=50;i
❺ 《单片机C语言程序设计实训100例——基于8051+Proteus仿真》 第03篇源代码
单片机c语言编程100个实例目录1
函数的使用和熟悉
实例3:用单片机控制第一个灯亮 
实例4:用单片机控制一个灯闪烁:认识单片机的工作频率
实例5:将 P1口状态分别送入P0、P2、P3口:认识I/O口的引脚功能
实例6:使用P3口流水点亮8位LED
实例7:通过对P3口地址的操作流水点亮8位LED 
实例8:用不同数据类型控制灯闪烁时间
实例9:用P0口、P1 口分别显示加法和减法运算结果
实例10:用P0、P1口显示乘法运算结果
实例11:用P1、P0口显示除法运算结果
实例12:用自增运算控制P0口8位LED流水花样
实例13:用P0口显示逻辑"与"运算结果
实例14:用P0口显示条件运算结果
实例15:用P0口显示按位"异或"运算结果
实例16:用P0显示左移运算结果
实例17:"万能逻辑电路"实验
实例18:用右移运算流水点亮P1口8位LED
实例19:用if语句控制P0口8位LED的流水方向
实例20:用swtich语句的控制P0口8位LED的点亮状态
实例21:用for语句控制蜂鸣器鸣笛次数
实例22:用while语句控制LED
实例23:用do-while语句控制P0口8位LED流水点亮
实例24:用字符型数组控制P0口8位LED流水点亮 
实例25: 用P0口显示字符串常量
实例26:用P0 口显示指针运算结果
实例27:用指针数组控制P0口8位LED流水点亮
实例28:用数组的指针控制P0 口8 位LED流水点亮 
实例29:用P0 、P1口显示整型函数返回值
实例30:用有参函数控制P0口8位LED流水速度
实例31:用数组作函数参数控制流水花样
实例32:用指针作函数参数控制P0口8位LED流水点亮 
实例33:用函数型指针控制P1口灯花样
实例34:用指针数组作为函数的参数显示多个字符串
单片机c语言编程100个实例目录2
实例35:字符函数ctype.h应用举例
实例36:内部函数intrins.h应用举例 
实例37:标准函数stdlib.h应用举例 
实例38:字符串函数string.h应用举例 
实例39:宏定义应用举例2 
实例40:宏定义应用举例2 
实例41:宏定义应用举例3 
* 中断、定时器中断、定时器 *中断、定时器*中断、定时器 / 
实例42:用定时器T0查询方式P2口8位控制LED闪烁 
实例43:用定时器T1查询方式控制单片机发出1KHz音频 
实例44:将计数器T0计数的结果送P1口8位LED显示 
实例45:用定时器T0的中断控制1位LED闪烁 
实例46:用定时器T0的中断实现长时间定时 
实例47:用定时器T1中断控制两个LED以不同周期闪烁 
实例48:用计数器T1的中断控制蜂鸣器发出1KHz音频 
实例49:用定时器T0的中断实现"渴望"主题曲的播放 
实例50-1:输出50个矩形脉冲 
实例50-2:计数器T0统计外部脉冲数 
实例51-2:定时器T0的模式2测量正脉冲宽度 
实例52:用定时器T0控制输出高低宽度不同的矩形波 
实例53:用外中断0的中断方式进行数据采集 
实例54-1:输出负脉宽为200微秒的方波 
实例54-2:测量负脉冲宽度 
实例55:方式0控制流水灯循环点亮 
实例56-1:数据发送程序 
实例56-2:数据接收程序
实例57-1:数据发送程序
实例57-2:数据接收程序
实例58:单片机向PC发送数据
实例59:单片机接收PC发出的数据
*数码管显示*数码管显示 数码管显示数码管显示*/ 
实例60:用LED数码显示数字5 
实例61:用LED数码显示器循环显示数字0~9 
实例62:用数码管慢速动态扫描显示数字"1234"
实例63:用LED数码显示器伪静态显示数字1234 
实例64:用数码管显示动态检测结果 
实例65:数码秒表设计 
实例66:数码时钟设计 
实例67:用LED数码管显示计数器T0的计数值 
实例68:静态显示数字“59”
单片机c语言编程100个实例目录3
键盘控制*键盘控制* *键盘控制 *键盘控制 */ 
实例69:无软件消抖的独立式键盘输入实验 
实例70:软件消抖的独立式键盘输入实验 
实例71:CPU控制的独立式键盘扫描实验 
实例72:定时器中断控制的独立式键盘扫描实验 
实例73:独立式键盘控制的4级变速流水灯 
实例74:独立式键盘的按键功能扩展:"以一当四"
实例75:独立式键盘调时的数码时钟实验 
实例76:独立式键盘控制步进电机实验
实例77:矩阵式键盘按键值的数码管显示实验 
//实例78:矩阵式键盘按键音 
实例79:简易电子琴 
实例80:矩阵式键盘实现的电子密码锁 
液晶显示LCD*液晶显示LCD *液晶显示LCD * *液晶显示LCD*液晶显示LCD *液晶显示LCD */ 
实例81:用LCD显示字符'A' 
实例82:用LCD循环右移显示"Welcome to China"
实例83:用LCD显示适时检测结果 
实例84:液晶时钟设计 
*一些芯片的使用*24c02 DS18B20 X5045 ADC0832 DAC0832 DS1302 红外遥控/ 
实例85:将数据"0x0f"写入AT24C02再读出送P1口显示 
实例86:将按键次数写入AT24C02,再读出并用1602LCD显示 
实例87:对I2C总线上挂接多个AT24C02的读写操作 
实例88:基于AT24C02的多机通信 读取程序
实例89:基于AT24C02的多机通信 写入程序 
实例90:DS18B20温度检测及其液晶显示
实例91:将数据"0xaa"写入X5045再读出送P1口显示 
实例92:将流水灯控制码写入X5045并读出送P1口显示 
实例93:对SPI总线上挂接多个X5045的读写操作 
实例94:基于ADC0832的数字电压表 
实例95:用DAC0832产生锯齿波电压 
实例96:用P1口显示红外遥控器的按键值 
实例97:用红外遥控器控制继电器
实例98:基于DS1302的日历时钟
实例99:单片机数据发送程序 
实例100:电机转速表设计
模拟霍尔脉冲
http://www.dzkfw.com.cn/myxin/51c_language.chm     单片机c语言一百例子
❻ 赢在龙头的指标 个股资金强弱 源码 哪位知道!
不用满世界找了。“个股资金强弱”就是“资金指数”。只是变了个名称。
