freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

word版可編輯-程序設(shè)計(jì)報(bào)告精心整理doc(編輯修改稿)

2024-08-11 12:19 本頁(yè)面
 

【文章內(nèi)容簡(jiǎn)介】 * * * * * * * 鏈表各節(jié)點(diǎn)的輸出* * * * * * * * * */void print (struct Node *head){ struct Node *temp。 temp=head。 printf(\n信息輸出:\n)。 while (temp!=NULL) { printf( %d\n , tempnumber)。 temp=tempnext。 }}void main(){ struct Node *head。 int n,l,flg=1,i。 head=NULL。 flg=1。 while (flg) { system (cls)。 printf(\t\t\t 功能選擇\n)。 printf(\t\t\\n)。 printf(\t\t\\n)。 printf(\t\t\\n)。 printf(\t\t\\n)。 printf(請(qǐng)選擇0 到 3\n)。 scanf(%d,amp。i)。 switch (i) { case 1 : head=creat (head)。 print(head)。 break。 case 2 : print(head)。 printf(請(qǐng)輸入添加數(shù)據(jù):\n)。 scanf(%d,amp。n)。 head=insert(head,n)。 print(head)。 break。 case 3 : print(head)。 printf(請(qǐng)刪除添加數(shù)據(jù):\n)。 scanf(%d,amp。l)。 head=delet(head,l)。 print(head)。 break。 case 0 : flg=0。 } if (i!=0) {printf (你可以按任意鍵繼續(xù)操作!)。getch()。} system (cls)。 for(i=1。i=20。i++) printf(*)。 printf(感謝您的使用,再見!!)。 for(i=1。i=20。i++) printf(*)。 printf(\n)。 for(i=1。i=18。i++)printf( )。 }} include //輸入輸出及文件操作 include include include char filenames[20]。void open_file(){ FILE *fp。 char filename[20]。 printf(請(qǐng)輸入文件名(并標(biāo)明類型)\n)。 scanf(%s,filename)。 fp=fopen(filename,w+)。 printf(新文件已建立\n)。 fclose(fp)。}int save_date(){ FILE *fp。 char word,filename[20]。 printf(請(qǐng)輸入需打開文件名(并標(biāo)明類型)\n)。 scanf(%s,filename)。 if((fp=fopen(filename,a))==NULL) { printf(打開文件失敗,按任意鍵退出!!)。 } getchar()。 printf(請(qǐng)輸入文本按$結(jié)束.\n)。 word=getchar()。 while (word!=39。$39。) { fputc(word,fp)。 word=getchar()。 } fclose(fp)。 printf(數(shù)據(jù)存入完畢!\n)。 return 1。}void count(){ FILE *fp。 char ch,filename[20]。 int flg。 int letter=0,digit=0,space=0,other=0,chinese=0,paragraph=0,word=0。 if((fp=fopen(filenames,r))==NULL) { printf(打開文件失敗,按任意鍵退出!!)。 exit(0)。 } ch=fgetc(fp)。 while(ch!=EOF) { if(ch 0) chinese++。 else if(ch==39。 39。) {space++。 flg=1。} else if(ch=39。139。amp。amp。ch=39。939。)digit++。 else if((ch=39。A39。amp。amp。ch=39。Z39。)||(ch=39。a39。amp。amp。ch=39。z39。)){letter++。if(flg) word++。flg=0。} else if(ch==39。\n39。) paragraph++。 else other++。 ch=fgetc(fp)。 } fclose(fp)。 printf(字母:%d\n,letter)。 printf(數(shù)字:%d\n,digit)。 printf(單詞:%d\n,word)。 printf(中文:%d\n,chinese/2)。 printf(段落:%d\n,paragraph+1)。 printf(字符:%d\n,other)。 getch()。 }int print_date(){ FILE *fp。 char word。 printf(請(qǐng)輸入需打開文件名(并標(biāo)明類型)\n)。 scanf(%s,filenames)。 if((fp=fopen(filenames,r))==NULL) { printf(打開文件失敗,按任意鍵退出!!)。 exit (1)。 } word=fgetc(fp)。 while (word!=EOF) { putchar(word)。 word=fgetc(fp)。 } fclose(fp)。 printf(\n)。 printf(數(shù)據(jù)存入完畢!\n)。 return 1。}void main(){ int flg,i。 flg=1。 while (flg) { system (cls)。 printf(\t\t\t功能選擇\n)。 printf(\t\\n)。 printf(\t\\n)。 printf(\t\\n)。 printf(\t\\n)。 printf(\t\tplease chose 0 to 9\n)。 scanf(%d,amp。i)。 switch (i) { case 1 : open_file() 。break。 case 2 : save_date() 。break。 case 3 : print_date()。count() 。break。 case 0 : flg=0。 } if (i!=0) {printf (you can press any key to c
點(diǎn)擊復(fù)制文檔內(nèi)容
高考資料相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖片鄂ICP備17016276號(hào)-1