【正文】
問(wèn)題、編程實(shí)踐、自主創(chuàng)新的能力,同時(shí)通過(guò)和其他同學(xué)的交流,培養(yǎng)了我的合作精神、創(chuàng)新協(xié)作意識(shí)和勇于探索的精神。 printf(\n\n\n\n\n\n\n\t\t\t\t No one match your check!\n)。}。scanf(%c,c)。 printf(enter the book name:)。 informationtable()。 fclose(fp)。 printf(\nSave successfully!!!\n)。y39。 checktable()。:bookin()。 exit(0)。 printf(\t\\n)。printf(****************************************************************\n)。(3)數(shù)組:用來(lái)存儲(chǔ)字符串。圖書(shū)館管理系統(tǒng)與學(xué)生的日常學(xué)習(xí)和生活有著密切的關(guān)系。退出系統(tǒng)借閱是否借閱這本書(shū)?需求框圖繼續(xù)退出系統(tǒng)是否繼續(xù)錄入?查詢結(jié)果圖書(shū)館管理系統(tǒng)統(tǒng)計(jì)每種書(shū)的個(gè)數(shù)返回圖書(shū)館信息系統(tǒng)按作者查詢按書(shū)名查詢按書(shū)號(hào)查詢錄入作者錄入數(shù)量錄入書(shū)名圖書(shū)統(tǒng)計(jì)圖書(shū)查詢系統(tǒng)圖書(shū)錄入系統(tǒng)返回信息系統(tǒng)主菜單退出圖書(shū)館管理系統(tǒng)進(jìn)入圖書(shū)館信息系統(tǒng)錄入書(shū)號(hào)設(shè)計(jì)分析 (1)定義book結(jié)構(gòu)體,用來(lái)儲(chǔ)存圖書(shū)的信息(包括書(shū)號(hào)、書(shū)名、作者、數(shù)量)。void informationmenu()。 printf(\t\ to the mainmenu\n)。:tsgxx()。}\*主函數(shù)* void informationmenu(){ char choose。break。 printf(\n\nWele to add a book!)。y39。 fp=fopen(C:\\bookin,rb)。}, tauthor[20]={39。139。il。 } } fclose(fp)。il。選擇3分別用書(shū)號(hào)、書(shū)名、作者查詢。輸入書(shū)號(hào)1,則輸出查詢結(jié)果。k==(!strcmp(ttname,tname))。 tsgxx()。k==(!strcmp(ttnum,tnum)||!strcmp(ttname,tname)||!strcmp(ttauthor,tauthor))。 printf(enter the book number:)。}, ttauthor[20]={39。!feof(fp)。 ch=getch()。T EXIST!!!)。439。 printf(Please enter a choice! :)。case 39。 }\*圖書(shū)信息系統(tǒng)界面* void checktable(){system(cls)。void mainmenu()\*聲明用到的一些函數(shù)* {system(cls)。(3)將錄入的新書(shū)的內(nèi)容寫(xiě)進(jìn)文件bookin中。它具有語(yǔ)言簡(jiǎn)潔、緊湊、方便、靈活等特點(diǎn)。設(shè)計(jì)框圖Wele to libruary systerm tsgxx() system(‘cls’) informationmenu()Informationtable exit