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

正文內(nèi)容

小型圖書館管理系統(tǒng)c語言版-資料下載頁

2025-08-22 19:38本頁面
  

【正文】 din)。 scanf(%s,ploginnum)。 printf(\n 請輸入圖書書名:)。 fflush(stdin)。 scanf(%s,pbookname)。 printf(\n 請輸入圖書作者名:)。 fflush(stdin)。 scanf(%s,pauthor)。 printf(\n 請輸入圖書出版社:)。 fflush(stdin)。 scanf(%s,ppublisher)。 printf(\n 請輸入圖書出版時間:)。 fflush(stdin)。 scanf(%s,ppbtime)。 printf(\n 請輸入圖書分類號:)。 fflush(stdin)。 scanf(%s,pclassfy)。 printf(\n 請輸入圖書價格:)。 fflush(stdin)。 scanf(%f,amp。pprice)。 printf(\n)。 panduan=1。 } } if(panduan==0) { printf(\n ━━━━ 沒有圖書記錄! ━━━━\n\n)。 } return。}/*刪除操作*/void DeleteDoc(struct books_list * head){ struct books_list *s,*p。 /*s為中間變量,p為遍歷時使用的指針*/ char temp[20]。 int panduan。 /*此變量用于判斷是否找到了書目*/ panduan=0。 p=s=head。 printf( [請輸入您要刪除的書名]:)。 scanf(%s,temp)。 /*遍歷到尾結(jié)點*/ while(p!= NULL) { if(strcmp(pbookname,temp)==0) { panduan++。 break。 } p=pnext。 } if(panduan==1) { for(。snext!=p。) /*找到所需刪除卡號結(jié)點的上一個結(jié)點*/ { s=snext。 } snext=pnext。 /*將后一節(jié)點地址賦值給前一節(jié)點的指針域*/ free(p)。 printf(\n ━━━━ 刪除成功! ━━━━\n)。 } else /*未找到相應(yīng)書目*/ { printf( 您輸入的書目不存在,請確認(rèn)后輸入!\n)。 } return。}int main(void){ struct books_list * head。 char choice。 head=NULL。 for(。) /*實現(xiàn)反復(fù)輸入選擇*/ { printf( ┏━┓━━━━━━━━━━━━━━━━━━━┏━┓\n)。 printf( ┃ ┃ socat 圖書管理系統(tǒng) ┃ ┃\n)。 printf( ┃ ┗━━━━━━━━━━━━━━━━━━━┛ ┃\n)。 printf( ┃ ●[1]圖書信息錄入 ┃\n)。 printf( ┃ ┃\n)。 printf( ┃ ●[2]圖書信息瀏覽 ┃\n)。 printf( ┃ ┃\n)。 printf( ┃ ●[3]圖書信息查詢 ┃\n)。 printf( ┃ ┃\n)。 printf( ┃ ●[4]圖書信息修改 ┃\n)。 printf( ┃ ┃\n)。 printf( ┃ ●[5]圖書信息刪除 ┃\n)。 printf( ┃ ┃\n)。 printf( ┃ ●[6]退出系統(tǒng) ┃\n)。 printf( ┗━━━━━━━━━━━━━━━━━━━━━━━┛\n)。 printf( 請選擇:)。 fflush(stdin)。 scanf(%c,amp。choice)。 if(choice==39。139。) { if(head==NULL) { head=Create_Books_Doc()。 } InsertDoc(head)。 } else if(choice==39。239。) { Print_Book_Doc(head)。 } else if(choice==39。339。) { search_book(head)。 } else if(choice==39。439。) { info_change(head)。 } else if(choice==39。539。) { DeleteDoc(head)。 } else if(choice==39。639。) { printf(\n)。 printf( ━━━━━━━━ 感謝使用圖書管理系統(tǒng) ━━━━━━━━\n)。 break。 } else { printf( ━━━━ 輸入錯誤,請重新輸入!━━━━)。 break。 } } return 0。 }5. 課程設(shè)計總結(jié) 在這次課程設(shè)計中讓我的編程能力得到了一定的提高,讓我熟悉了鏈表的一些操作,但在這個過程中還是有很多地方難以下手,需要同學(xué)的幫助。在這個過程中我更加的懂得了團結(jié)合作的重要性,學(xué)到了很多課本上學(xué)不到的東西,并且也鍛煉了我的溝通協(xié)調(diào)能力,相信我會在這樣每次的實踐活動中提升自己!六、 參考文獻(xiàn)1.《數(shù)據(jù)結(jié)構(gòu)》2.《c語言程
點擊復(fù)制文檔內(nèi)容
教學(xué)教案相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1