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

正文內(nèi)容

c語言課程設(shè)計圖書信息管理系統(tǒng)-文庫吧資料

2024-08-20 10:06本頁面
  

【正文】 printf(你找到了要查找的圖書信息:\n)。p!=NULL。 scanf(%s,writer)。 if(b) printf(你要查找的圖書信息不存在!\n)。 printf(%f\n,pprice)。 printf(%s\n,ppublish_from)。 printf(%s\n,pwriter)。 //若存在,則b=0 printf(你找到了要查找的圖書信息:\n)。p!=NULL。 scanf(%s,name)。i)。 printf(按書名查找請按1.\n按作者名查找請按2.\n按組合查詢請按3.\n)。 int price。}void search_news() //查詢圖書信息 { struct fi_info *p=NULL。 head=p。 Book_num+=1。pprice)。 printf(請輸入書本價格:)。 scanf(%d,amp。 scanf(%s,ppublish_from)。ptypenum)。 printf(請輸入分類號:)。 printf(請輸入作者名:)。 printf(請輸入書名:)。 }int creat_news() //添加圖書信息 { struct fi_info *p=NULL。 printf(\t\t\t 5;顯示圖書信息\n)。 printf(\t\t\t 3;刪除圖書信息\n)。 printf(\t\t\t 1;錄入圖書信息\n)。 return 0。 head_=p。 pnext=NULL。 head=p。 pnext=NULL。ptype)。pprice)。ppublish_time)。 fscanf(fp,%s,ppublish_from)。 fscanf(fp,%d,amp。 //P為動作指針,申請內(nèi)存空間 fscanf(fp,%s,pname)。iBook_num。Book_num)。 //為輸出打開一個文件 printf(文件建立成功!\n)。 if((fp=fopen(,r+))==NULL) { printf(文件不存在!\n)。 //文件指針 struct fi_info *p=NULL。 } return 0。 case 0:quit()。 case 5:show()。 case 4:update_news()。 case 3:delete_news()。 case 2:search_news()。 } else { switch(selected) { case 1:creat_news()。 fflush(stdin)。 if(scanf(%d,amp。 //清屏 menu()。amp。land_num)。//數(shù)據(jù)導(dǎo)入 printf(請輸入您的圖書管理系統(tǒng)登錄號:)。int main(){ int selected=0,land_num。void show()。void delete_news()。 //讀入數(shù)據(jù) //函數(shù)申明 int creat_news()。 //圖書信息的統(tǒng)計數(shù) void menu()。struct fi_info *head=NULL,*head_=NULL 。 struct fi_info* next。 float price。 char publish_from[MAXN]。 char writer[MAXwriter]。程序清單:include //輸入輸出函數(shù)include //字符串函數(shù)頭文件 includeinclude //調(diào)用函數(shù)
點擊復(fù)制文檔內(nèi)容
醫(yī)療健康相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1