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

正文內(nèi)容

c語言程序設(shè)計(圖書管理系統(tǒng))源代碼-wenkub.com

2025-08-05 05:44 本頁面
   

【正文】 inputchioce()。 } if(x!=1amp。 if(x==1) { system(cls)。 printf(\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n )。 printf(打開一次系統(tǒng)進行多項操作。 printf(對圖書信息的創(chuàng)建、刪除和修改,查詢和排序的子菜單中又包括具體的按某種方式查詢和排序以及返回主菜單的具體選項。 printf(的機會,在三次內(nèi)輸入正確密碼即可獲得使用權(quán)限,三次輸入錯誤后,系統(tǒng)將自動退出。}/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*//*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*//*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/void shiyongshuoming() /* 使用說明的函數(shù) */{ int x=1。 } } if(fclose(fpp)) { printf(關(guān)閉文件失??!\n)。 } else { while(!feof(fpp)) { fscanf(fpp,%d%s%s%s%s%s%lf,amp。 double price。 char name[30]。 printf(\n\n 按出版時間排序 操作已完成 并保存完畢\n是否繼續(xù)操作? 請選擇(繼續(xù)1/退出0))。 p2=p1next。 p1next=p2next。j++) { if(strcmp(p1time,p2time)0) { p3=p1。 p1=head。in。 save(head)。 if(p2next==NULL) { if(strcmp(p1time,p2time)0) return head。 n=tongjibook_shumu()。 }}/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/struct book_node* paixubook_time(struct book_node *head) /* 為圖書按出版時間排序的函數(shù) */{ int n。amp。 inputchioce()。}/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/void sfjx() /* 寫個小函數(shù),判斷是否繼續(xù),讓程序更完美 */{ int x=1。free(p4)。 p2next =p1。 p2=p2next。 for(j=0。p4next=head。 return head。 p1next=NULL。 p2=headnext。 int i,j。 inputchioce()。} case 0: { inputchioce()。break。k)。 printf( | 1 按價格為圖書排序 ** ** 2 按出版時間為圖書排序 |\n)。 struct book_node*head=NULL。 printf(選擇有誤,默認(rèn)返回主菜單,請重新選擇:\n)。 }while(flag==1)。 if(x==1) flag=1。 printf(\n\n是否繼續(xù)查找?(繼續(xù)1/返回主菜單0))。 printf(%d %s %s %s %s %s %lf\n,pnum,pleibie,pname,pauthor,ppress,ptime,pprice)。 scanf( %lf,amp。 struct book_node*p。 inputchioce()。 if(flag==0) { system(cls)。 if(x!=1amp。 scanf(%d,amp。 found=1。 scanf( %s,name)。 struct book_node*p。 inputchioce()。 /* flag為判斷是否需要繼續(xù)的函數(shù) 繼續(xù)查找時 flag為1 用dowhile控制循環(huán) */ if(flag==0) { system(cls)。 if(x!=1amp。 scanf(%d,amp。 found=1。num)。 do { found=0。 }break。break。break。 system(cls)。 printf( | 3 按價格查詢圖書信息 ** ** 0 還回主菜單 |\n)。 head=wjtolb(head,amp。 inputchioce()。 } if(x!=1amp。 if(x==1) { system(cls)。 exit(0)。num,leibie,name,author,press,time,amp。 if( (fpp=fopen(,r))==NULL ) { printf( 打開文件失敗 ! )。 char press[20]。}/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/int liulanbook() /* 瀏覽圖書信息的函數(shù) */{ int num。x!=0) { system(cls)。 } if(x==0) { printf(\n\n謝謝你的使用! 再見\n)。 scanf(%d,amp。 inputchioce()。 pprice=price。break。break。break。break。break。break。 switch(t) { case 1: { printf( 請輸入圖書%d的新編號:\n,numm)。 printf(%d %s %s %s %s %s %lf\n, pnum,pleibie,pname,pauthor,ppress,ptime,pprice)。pnum!=numm) { p=pnext。amp。 inputchioce()。 } if(x!=1amp。 if(x==1) { system(cls)。 } save(head)。} default: { system(cls)。 scanf(%lf,amp。 scanf(%s,time)。 scanf(%s,press)。 scanf(%s,author)。 scanf(%s,name)。 scanf(%s,leibie)。num)。 scanf(%d,amp。amp。 printf(7修改圖書價格 \n)。 printf(\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n)。numm)。 } } if(fclose(fpp)) { printf(關(guān)閉文件失??!\n)。 while(!feof(fpp)) { fscanf(fpp,%d%s%s%s%s%s%lf,amp。 printf(\n所有的圖書信息如下:\n)。 char time[20]。 char leibie[10]。 } return head。amp。 inputchioce()。 printf(\n\n是否繼續(xù)操作? 請選擇(繼續(xù)1/退出0))。 } else ptr1=ptr2。 ptr1=head。headnum==numm) { ptr2=head。 scanf(%d,amp。 exit(0)。num,leibie,name,author,press,time,amp。 /* 刪除前 先遍歷所有圖書,方便看清要刪除哪一本*/ if((fpp=fopen(,r))==NULL) /* 輸入要刪除的圖書編號之前 先遍歷所有圖書信息 */ { printf( 打開文件失敗 ! )。 double price。 char name[30]。 }}/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/struct book_node * luruxinxi_shanchu() /* 刪除某本圖書信息(按編號刪除) */{ int x=1,n=0。 } while(p1!=NULL) { fprintf(fpp, %d %s %s %s %s %s %lf \n,p1num,p1leibie,p1name,p1author,p1press,p1time,p1price)。 } if(fclose(fpp)) { printf(關(guān)閉文件失敗!\n)。}/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/void save1(struct book_node* p1){ /* 將鏈表保存為文件的函數(shù) 不覆蓋以前的
點擊復(fù)制文檔內(nèi)容
研究報告相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖片鄂ICP備17016276號-1