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

正文內(nèi)容

c語(yǔ)言課程設(shè)計(jì)報(bào)告圖書管理系統(tǒng)方案-資料下載頁(yè)

2025-05-03 02:41本頁(yè)面
  

【正文】 \n)。 printf(%28s%8s%19s%6s%11s%5d%d\n,ptitle,pauthor,ppress,pyear,pclaim_number,pcollection,pcan_borrow)。 break。 } } if(a!=1) { fclose(fp)。 printf(\a \n 無(wú)該書信息!\n\n)。 printf( \n)。 printf( [1].繼續(xù)搜索 [2].返回學(xué)生功能菜單 [0].退出系統(tǒng) \n)。 printf( \n)。 printf(請(qǐng)選擇:)。 scanf(%d,amp。c)。 while(1) { switch(c) { case 1:goto A。 case 2:return(back=1)。 case 0: { system(cls)。 printf( \n)。 printf( = 感謝使用,再見(jiàn)! = \n)。 printf( \n)。 exit(0)。 } } } } if(b!=1) { fclose(fp)。 printf(\a \n 無(wú)法辦理該書借閱手續(xù)!\n\n)。 printf( \n)。 printf( [1].繼續(xù)搜索 [2].返回學(xué)生功能菜單 [0].退出系統(tǒng) \n)。 printf( \n)。 printf(請(qǐng)選擇:)。 scanf(%d,amp。c)。 while(1) { switch(c) { case 1:goto A。 case 2:return(back=1)。 case 0: { system(cls)。 printf( \n)。 printf( = 感謝使用,再見(jiàn)! = \n)。 printf( \n)。 exit(0)。 } } } } if(b==1) { printf(\a\n\n 是否辦理該書借書手續(xù)?\n)。 printf( \n)。 printf( [1].是 [2].否 \n)。 printf( \n)。 scanf(%d,amp。c)。 while(1) { switch(c) { case 1: { system(cls)。 printf(請(qǐng)輸入你的個(gè)人信息:\n)。 printf( =======================================================\n)。 printf( 姓名 性別 學(xué)號(hào) \n)。 printf( \n)。 scanf(%s %s %s,student_name,sex,student_id)。 fp=fopen(,r)。 if(fp==NULL){printf(數(shù)據(jù)庫(kù)打開錯(cuò)誤!請(qǐng)檢查...\n)。exit(0)。} while(!feof(fp)) { fscanf(fp,%s %s %s %s %s %s %d %d %s %s %s %lld\n,amp。n[i].title,amp。n[i].author,amp。n[i].press,amp。n[i].year,amp。n[i].claim_number,amp。n[i].unit_price,amp。n[i].collection,amp。n[i].can_borrow,amp。n[i].student_name,amp。n[i].sex,amp。n[i].student_id,amp。n[i].number)。 if(strcmp(title,n[i].title)==0) { if(d!=1amp。amp。strcmp(n[i].student_name,未知)==0) { strcpy(n[i].student_name,student_name)。 strcpy(n[i].sex,sex)。 strcpy(n[i].student_id,student_id)。 d=1。 } n[i].can_borrow=1。 } i+=1。 } fclose(fp)。 j=i。 fp=fopen(,w)。 if(fp==NULL){printf(數(shù)據(jù)庫(kù)打開錯(cuò)誤!請(qǐng)檢查...\n)。exit(0)。} i=0。 while(j!=0) { fprintf(fp,%s %s %s %s %s %s %d %d %s %s %s %lld\n,n[i].title,n[i].author,n[i].press,n[i].year,n[i].claim_number,n[i].unit_price,n[i].collection,n[i].can_borrow,n[i].student_name,n[i].sex,n[i].student_id,n[i].number)。 fflush(fp)。 i+=1。j=1。 } fclose(fp)。 system(cls)。 printf( \n 借書辦理成功!\n\n)。 printf( \n)。 printf( [1].繼續(xù)借書 [2].返回學(xué)生功能菜單 [0].退出系統(tǒng) \n)。 printf( \n)。 printf(請(qǐng)選擇:)。 scanf(%d,amp。c)。 while(1) { switch(c) { case 1:goto A。break。 case 2:return(back=1)。 case 0: { system(cls)。 printf( \n)。 printf( = 感謝使用,再見(jiàn)! = \n)。 printf( \n)。 exit(0)。 } } } } case 2:return(back=1)。 } } }}int return_book(int back)//【辦理還書手續(xù)函數(shù)】{ FILE *fp。 char title[100]。 char student_name[50]。 struct Book *p,n[1000]。 int a,b,c,d,i,j。 A:system(cls)。//A為一個(gè)標(biāo)志位,用于返回本函數(shù)首界面 back=0。a=0。b=0。i=0。j=0。d=0。 printf(請(qǐng)輸入你的姓名:)。 scanf(%s,student_name)。 fp=fopen(,r)。 if(fp==NULL){printf(數(shù)據(jù)庫(kù)打開錯(cuò)誤!請(qǐng)檢查...\n)。exit(0)。} p=(struct Book*)malloc(LONG)。 printf(你目前的借書情況:\n)。 printf(===============================================================================\n)。 printf(書名 作者 出版社 年份 索取號(hào) 館藏 可借\n)。 printf(\n)。 while(!feof(fp)) { fscanf(fp,%s %s %s %s %s %s %d %d %s %s %s %lld\n,ptitle,pauthor,ppress,pyear,pclaim_number,punit_price,amp。pcollection,amp。pcan_borrow,pstudent_name,psex,pstudent_id,amp。pnumber)。 if(strcmp(student_name,pstudent_name)==0) { a=1。 printf(%28s%8s%19s%6s%11s%5d%d\n,ptitle,pauthor,ppress,pyear,pclaim_number,pcollection,pcan_borrow)。 printf(\n)。 } } fclose(fp)。 if(a!=1) { printf(你目前沒(méi)有借書記錄!\n)。 printf( \n)。 printf( [1].返回學(xué)生功能菜單 [0].退出系統(tǒng) \n)。 printf( \n)。 printf(請(qǐng)選擇:)。 scanf(%d,amp。c)。 while(1) { switch(c) { case 1:return(back=1)。 case 0: { system(cls)。 printf( \n)。 printf( = 感謝使用,再見(jiàn)! = \n)。 printf(
點(diǎn)擊復(fù)制文檔內(nèi)容
公司管理相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1