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

正文內(nèi)容

圖書管理系統(tǒng)(c語言)-wenkub.com

2025-04-04 23:05 本頁面
   

【正文】 本次的圖書管理系統(tǒng)重點(diǎn)考查了文件的讀寫,結(jié)構(gòu)體的應(yīng)用以及各種基本語句的使用。getch()。printf(others:%ld\n\n,totalbooktypstypl)。 if(==1) hasb+=1。i+=1) /*統(tǒng)計(jì)圖書類型*/{fread(amp。printf(The total number of all books is:%ld\n,totalbook)。}fseek(fp,100L,2)。struct book sbook。 a=getch()。fclose(fp)。 fclose(fp)。 fclose(fp)。 if(a==121){ =0。 printf(Price:%\n,)。 if(strcmp(,number)==0) {if(==1) { printf(The information of the book:\n)。 for(i=0。}} if(a==50){ clrscr()。} done=1。 clrscr()。 fseek(fp,100L,1)。 printf(Press:%s\n,)。 printf(Name:%s\n,)。i=totalbook。 printf(Please input the number of the book:)。 printf(Please input a kind of service:\n)。sbook,sizeof(struct book),1,fp)。if((fp=fopen(,rb+))==NULL){printf(wrong!)。,number[10]。 }fclose(fp)。}total=0。if(total==0) printf(No such book!)。 printf(Isborrowed:%d\n\n,)。 printf(Author:%s\n,)。i+=1){fread(amp。clrscr()。break。 }}gotoxy(1,1)。 printf(Press:%s\n,)。 printf(Name:%s\n,)。i=totalbook。scanf(%s,item)。getch()。 continue。 printf(Press:%s\n,)。 printf(Name:%s\n,)。i=totalbook。scanf(%s,item)。 /*查找方式設(shè)置*/printf(1:name\n2:author\n3:number\n)。totalbook=atol()。exit(0)。y39。}函數(shù)search_books實(shí)現(xiàn)對圖書的查找void search_books() /*查找圖書函數(shù)*/{int n,total=0。 fwrite(amp。for(i=1。struct book sbook。printf(Continue ? (y/n))。 clrscr()。if(done==0) printf(Wrong number!)。fwrite(amp。 if(a!=121) break。 printf(Price:%\n,)。 printf(The information of the book:\n)。i=totalbook。sbook,sizeof(struct book),1,fp1)。printf(Please input the number of the book:)。sbook,sizeof(struct book),1,fp1)。}if((fp2=fopen(,wb))==NULL){printf(wrong!)。struct book sbook。char a=39。 save_books()。 } clrscr()。 fwrite(amp。 printf(Press:)。 scanf(%f,amp。 scanf(%s,)。} while(a==121){clrscr()。struct book newbook。newbook,sizeof(struct book),1,fp2)。newbook,sizeof(struct book),1,fp1)。exit(0)。fscanf(fp1,%d,amp。fread(amp。exit(0)。struct book oldbook,newbook。i) if(ss[i]==47) {ss[i]=39。 ss[7]=ss[7]1。if(ss[8]==39。i) if(ss[i]==58) {ss[i]=39。 ss[7]=ss[7]+1。if(ss[8]==39。if(a==53) total_numbers()。 printf(***********************************************)。 printf(5:Total numbers)。 printf(3:Delete books)。 printf(1:Add new books)。 c
點(diǎn)擊復(fù)制文檔內(nèi)容
公司管理相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖片鄂ICP備17016276號-1