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

正文內(nèi)容

[實(shí)習(xí)總結(jié)]計(jì)算機(jī)實(shí)習(xí)報(bào)告c語(yǔ)言部分_c語(yǔ)言大作業(yè)(參考版)

2025-03-26 00:52本頁(yè)面
  

【正文】 }。 getch()。 } fclose(fp)。zhenghao,mingzi,riqi,zname)。in。 printf(********************************************************************************)。 printf(********************************************************************************)。 } fp=fopen(,r)。 if (n==0) { system (cls)。 printf(\n\n\n\n\n\n\n\n\n\t\t\t記錄文件不存在!)。}。},zname[20]={39。},riqi[20]={39。 char mingzi[20]={39。 }void duzheyilang() /*顯示借書情況函數(shù)*/{ FILE *fp。 getch()。 /*返回*/ jieshuxitong()。 } fclose(fp3)。) /*把鏈表內(nèi)容覆蓋圖書館文件*/ { fprintf(fp3,%d %s %s %s %d \n,zp1shuhao,zp1name,zp1author,zp1chuban,zp1xcl)。 for (。 fp3=fopen(,a)。 } fp3=fopen(,w)。) { if(!(strcmp(zp1name,ttzname))) /*尋找書名相同*/ ++(zp1xcl)。 for (。 fclose(fp3)。 } else { lp2next=lp1。 /*復(fù)制出版社*/ lp1xcl=txcl。 /*復(fù)制書名*/ strcpy(lp1author,tauthor)。 /*新建鏈表*/ } lp1shuhao=tshuhao。 lp2=lp1。 /*新建鏈表*/ lhead1=lp1。 /*讀取信息*/ n++。tshuhao,tname,tauthor,tchuban,amp。ik。 /*打開(kāi)圖書館文件*/ k= tjzs()。flag=0。 if (hitkey==13) printf(成功!按任意鍵返回!)。hitkey!=27。hitkey!=13amp。 } } } } if(flag) /*標(biāo)記為1,既還書時(shí)*/ { { {printf(確認(rèn)還書請(qǐng)按回車!)。 } free(p)。) /*把鏈表內(nèi)容覆蓋讀者文件*/ { fprintf(fp,%d %s %s %s \n,pzhenghao,pmingzi,priqi,pzname)。 for (。 fp=fopen(,a)。 } fp=fopen(,w)。 p1next=NULL。 /*復(fù)制書名*/ } } if (n==0) head=NULL。 /*復(fù)制讀者名字*/ strcpy(p1riqi,triqi)。 /*新建鏈表*/ } p1zhenghao=tzhenghao。 p2=p1。 /*新建鏈表*/ head=p1。!strcmp(ttzname,tzname))) { n++。 /*讀取文件信息*/ if(!((ttzhenghao==tzhenghao)amp。i++) /*將讀者文件復(fù)制到鏈表*/ { fscanf(fp,%d%s%s%s\n ,amp。 /*打開(kāi)讀者文件*/ if(flag) { for (i=0。 } fclose(fp)。amp。tzhenghao,tmingzi,triqi,tzname)。ik。 /*輸入還書證號(hào)和書名*/ k= tjdzzs()。 scanf(%d %s,amp。 exit (0)。 printf(\n\n\n\n\n\n\n\n\n\t\t 不存在借書者!按任意鍵退出!)。 system (cls)。}。},ttzname[20]={39。},tzname[20]={39。},triqi[20]={39。 char tmingzi[20]={39。}。}, ttname[20]={39。},tchuban[20]={39。},tauthor[20]={39。 char tname[20]={39。 struct library *zp1,*lp1,*lp2。 struct reader *p,*p1,*p2。 } } void huanshu() /*還書函數(shù)*/{FILE *fp,*fp3。 /*否則輸出此書已被接完*/ getch()。 } } jieshuxitong()。 getch()。 fclose(fp3)。 p=pnext。p!=NULL。 /*重新追加信息*/ p=head。 /*刪除圖書館文件信息*/ fclose(fp)。zname[20])。mingzi[20],amp。zname[20])。mingzi[20],amp。//錄入讀者信息 scanf(%d %s %s %s,amp。 } fp3=fopen(,a)。(loop0)) /*存在借書書名且現(xiàn)存量大于0*/ { { if ((fp3=fopen(,r))==NULL) /*建讀者文件夾*/ { fp3=fopen(,w)。} if(flagamp。 } free(p)。) { fprintf(fp,%d %s %s %s %d \n,pshuhao,pname,pauthor,pchuban,pxcl)。 for (。 fp=fopen(,a)。(loop0)) /*存在借書書名且現(xiàn)存量大于0*/ { fp=fopen(,w)。 } if(flagamp。 /*現(xiàn)存量減1*/ (pxcl)。) /*讀鏈表*/ { if(!(strcmp(pname,zname))) /*名字相同*/ {flag=1。 for (。 fclose(fp)。 else { p2next=p1。 /*復(fù)制出版社*/ p1xcl=txcl。 /*復(fù)制書名*/ strcpy(p1author,tauthor)。 /*新建鏈表*/ } p1shuhao=tshuhao。 p2=p1。 head=p1。 n++。tshuhao,tname,tauthor,tchuban,amp。ik。 k= tjzs()。 } else { { printf(\n\n\n\n\n\n\t\t\t請(qǐng)輸入借閱書名:\t\t\t\t\t\t \n請(qǐng)輸入:)。 getch()。 { if ((fp=fopen(,r))==NULL) /*打開(kāi)圖書館文件*/ { system (cls)。 char hitkey=0。\039。\039。\039。\039。\039。\039。\039。 int tshuhao=0,txcl=0,i,loop,zhenghao=0,n=0,k=0,t=0,flag=0。 struct library *head=NULL。break。439。break。339。break。239。break。139。 /*選擇功能*/ for (。 scanf(%c,amp。 scanf(%c,amp。 /*函數(shù)聲明*/ char choose。 void huanshu()。 return 。 printf(*^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^*)。 printf(\t\t\t\t \n\n)。 printf(\t\t\t\t \n\n)。 printf(*^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^*)。}void menu3() /*顯示借書系統(tǒng)主菜單*/{ system (cls)。 getch()。 } fclose(fp)。xcl)。i++) /*輸出信息*/ { fscanf(fp,%d%s%s%s%d,amp。 for (i=0。 printf(\t 書號(hào) 書名 作者 出版社 庫(kù)存量 \n)。 system (cls)。 printf(\n\n\n\n\n\n\n\n\n\t\t\t無(wú)任何記錄!)。 } n= tjzs()。 if ((fp=fopen(,r))==NULL) /*打開(kāi)文件夾*/ { system (cls)。\039。\039。\039。 int shuhao=0,xcl=0,n=0,i=0,j=0。 /*返回*/ tsgxx()。 } fclose(fp)。 getch()。 } } if (k==0) /*文件夾為空則輸出無(wú)記錄*/ { system (cls)。 } printf(\t %4d %8s %8s %8s %4d \n,tshuhao,tname,tauthor,tchuban,txcl)。 /*讀文件信息*/ if (ttshuhao==tshuhao||!strcmp(ttname,tname)||!strcmp(ttauthor,tauthor)||!strcmp(ttchuban,tchuban)) /*輸出查詢信息*/ { if (k==0) { printf(\t\t\t\t查詢結(jié)果:\n\n)。tshuhao,tname,tauthor,tchuban,amp。il。 } system (cls)。 printf(請(qǐng)輸入出版社:)。439。 scanf(%s,ttauthor)。) /*作者查詢*/ { system (cls)。 } else if (choose==39。 printf(請(qǐng)輸入書名:)。239。ttshuhao)。 printf(請(qǐng)輸入書號(hào):)。139。) return。
點(diǎn)擊復(fù)制文檔內(nèi)容
環(huán)評(píng)公示相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1