1樓:勤奮的小
#include
#include
#include
#include
#include
int funca(int n)
else if(n==0x4b)
else if(n==0x4d)
else if(n==0x48)
}void time()
void system()
}printf("\n");
for(i=0;i<4;i++)
}for(i=0;i<4;i++)
}printf("\n恭喜過關\n");
}int main()
/*原理是大差不差的自己研究一下*/
2樓:匿名使用者
#include
#include
char *kw=;
long allcounter=0,rightcounter=0,wrongcounter=0;
main()
gotoxy(1,1);
printf("allch: %ld\nright: %ld\nwrong: %ld",allcounter,rightcounter,wrongcounter);
gotoxy(50,1);
printf("press esc to exit");
gotoxy(50,2);
printf("enter to pause");
gotoxy(26,12);
printf("* * * * * * * * * * * * * * ");
gotoxy(26,13);
printf("* press any key to start! *");
gotoxy(26,14);
printf("* * * * * * * * * * * * * * ");
gotoxy(51,13);
if(getch()==27) }
gotoxy(23,12);
printf(" ");
gotoxy(23,13);
printf(" ");
gotoxy(23,14);
printf(" ");
while(1)
fun_play();
} int fun_play()
else if(cur==27) }
else if(cur=='\r')
else }
if(y>6)
gotoxy(x,y);
printf("%c",ch);
gotoxy(1,1);
printf("allch: %ld\nright: %ld\nwrong: %ld",allcounter,rightcounter,wrongcounter);
delay(timer);
y++;
} allcounter++;
if(ch == '*') }
int fun_esc()
if(key=='n' || key=='n') }}
打字練習軟體 c語言程式 30
用c語言編寫簡單計算器程式,用c語言編寫一個簡單計算器程式
問明 include stdio h 計算器 voidmenu 自定義的選單介面 printf n printf 請輸入你的選擇 n printf 1 n printf 2 n printf 3 n printf 4 n printf n intmain inti 0 intj 0 intnum 0...
用c語言編寫通訊錄管理系統,用C語言編寫一個通訊錄管理系統
小夏在深圳 c語言編寫一個通訊錄管理系統的源 如下 include include include 定義儲存通迅錄的資訊 structfriends charname 20 名字 charprovince 20 省份 charcity 20 所在城市 charnation 20 民族 char 2 ...
用C語言編寫程式,用C語言編寫一個程式
樓上沒有找出相差最小的數而是找出的和平均數比較結果中最小的數 include include void main int v,b 10 int i v a 0 a 1 a 2 a 3 a 4 a 5 a 6 a 7 a 8 a 9 10 for i 0 i 10 i for i 0 i 9 i if...