C语言课程设计源程序.docVIP

  • 4
  • 0
  • 约1.81千字
  • 约 3页
  • 2023-10-02 发布于湖北
  • 举报
#include graphics.h #include stdio.h #include math.h #include dos.h #include bios.h void my_delay(int clicks) { unsigned int far *clock=(unsigned int far *)0x0000046CL; unsigned int now; now=*clock; while(abs(*clock-now)clicks){} } wenzixianshi() { int x,y,i; char ch[2]; char str[]=1234567qwertyuasdfghj; x=100; settextstyle(0,0,2); outtextxy(90,100,Please use A-U to make sound); settextstyle(0,0,1); outtextxy(120,320,Press ESC to exit.); setcolor(RED); for(i=0;i21;i++) { ch[0]=str[i]; ch[1]=0; outtextxy(x+5,160,ch); x+=20; } return(0); } donghua() { int i,j,x,stepx=100,stepy=180; char ch,str[

文档评论(0)

1亿VIP精品文档

相关文档