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

正文內(nèi)容

c語(yǔ)言圖書管理系統(tǒng)上機(jī)實(shí)驗(yàn)報(bào)告!-wenkub.com

2024-09-01 09:32 本頁(yè)面
   

【正文】 學(xué)好 C語(yǔ)言還有很長(zhǎng)的路要走,這是一個(gè)漫長(zhǎng)而有趣的過(guò)程。 做功能的時(shí)候,基本上沒(méi)有遇到什么困難,做的還算順利。后來(lái)李老師說(shuō)不應(yīng)該用,改了以后確實(shí)能行。所以剛開始花時(shí)間比較多的地方主要是在界面和文件的應(yīng)用那里。 getch()。 gotoxy(2,5)。 } rmb = rmb + binfo[i].price。 i++) { if (fread(amp。 getch()。 cprintf( Money List )。 _window()。 int sum。 cprintf(That39。 gotoxy(25,2)。 textcolor(LIGHTGRAY)。 clrscr()。 j = j + 4。 gotoxy(25,4 + j)。 getch()。 } for (i = 0,j = 0。 cprintf(The Total Book number is %d,sum)。 cprintf( Book List )。 _window()。 int sum。break。 case 10:bmoney()。 y=choose(7,13)。 gotoxy(30,10)。 textbackground(RED)。 highvideo()。 textbackground(BLUE)。 } } void sta() { int y。 } printf(\n\n\n press Y to continue or press anykey to back to menu.)。s count is:%d\n, binfo[obj].count)。s ISBN is:%s\n, binfo[obj].ISBN)。s press is:%s\n, binfo[obj].press)。s num is:%s\n, binfo[obj].num)。s writer is:%s\n, binfo[obj].writer)。 obj = halfw(sum,binfo,find)。 /*對(duì)圖書基本信息數(shù)組排序 */ gotoxy(1,2)。 getch()。 } for (i = 0。 sum = readsum()。 bbasic binfo[100]。 } } void searchwriter() { FILE *fp。 } printf(\n\n\n press Y to continue,or press any key to back to menu.)。s count is:%d\n, binfo[obj].count)。s ISBN is:%s\n, binfo[obj].ISBN)。s press is:%s\n, binfo[obj].press)。s num is:%s\n, binfo[obj].num)。s writer is:%s\n, binfo[obj].writer)。 obj = halfn(sum,binfo,find)。 /*對(duì)圖書基本信息數(shù)組排序 */ gotoxy(1,2)。 getch()。 } for (i = 0。 sum = readsum()。 bbasic binfo[100]。 } } void searchname() { FILE *fp。 } else if (strcmp(find,binfo[mid].writer) 0) { end = mid 1。 } } int halfw(int sum,bbasic binfo[100],char *find) /*二分法查找作者 ,返回所需數(shù)組標(biāo)號(hào) */ { int start = 0,mid。 } else if (strcmp(find,binfo[mid].name) 0) { end = mid 1。 } } int halfn(int sum,bbasic binfo[100],char *find) /*二分法查找書名 ,返回所需數(shù)組標(biāo)號(hào) */ { int start = 0,mid。amp。 j sum。 getch()。 } for (i = 0。 sum = readsum()。 } binfo[i + 1] = temp。 while (i = 0 amp。 for (j = 1。binfo[i],sizeof(temp),1,fp) != 1) { printf(cannot read the .)。 exit(0)。 bbasic temp。 } fclose(fp)。 } else { clrscr()。 } } int readsum() { FILE *fp。break。 y=choose(7,13)。 textbackground(BLUE)。 cprintf(The Library Managemnt Program)。 cprintf(Back)。 textbackground(BLUE)。 _window()。 case 16:menu()。break。menu()。 textbackground(BLUE)。 gotoxy(35,22)。 textcolor(RED)。 cprintf(Insert Book)。 textbackground(BLUE)。 _window()。 exit(0)。 if((fp = fopen(e:\\,wb)) == NULL) { printf(cannot open )。(p1 binfo),sizeof(bbasic),1,fp) != 1) { clrscr()。 if ((fp = fopen(e:\\,wb)) == NULL) { printf(cannot open )。 cprintf(Press Y to continue or Press anykey to back to menu.)。 scanf(%d,amp。(temp ))。 getchar()。 gotoxy(2,18)。 cprintf(Please input the price:)。 scanf(%s,amp。 getchar()。 cprintf(Please input the book39。 scanf(%s,amp。 getchar()。 cprintf(Please input the book39。 scanf(%s,amp。 getchar()。 cprintf(Please input the book39。 scanf(%s,amp。 menu()。 break。 if(strcmp(find,p2 ) == 0) { p2 next = temp。 scanf(%s,find)。 sum = readsum()。 char find[10]。 } fclose(fp)。 } if(fwrite(amp。 printf(cannot save the data.)。 } for (i = 0。 getch()。 flag = 1。i++) { p1 = p1 next。 sum。 clrscr()。 int i,ky,sum,flag = 0。 printf(cannot find the book.)。 } fclose(fp)。i++) { if(fwrite(amp。 } else { p = head。 i = 1。 getchar()。 gotoxy(2,22)。 cprintf(Please input the count of books:)。 scanf(%s,amp。(p ))。 getchar()。 cprintf(Please input the book39。 scanf(%s,amp。 getchar()。 cprintf(Please input the the book39。 scanf(%s,amp。 getchar()。 cprintf(Please input the book39。 scanf(%s,amp。 getchar()。i++) { if(strcmp(find,p ) == 0) { gotoxy(2,2)。 printf(Plese input the name of the book you want to modify:)。 FILE *fp。 return head。 if(fread(amp。 i sum。 p1 = (struct linklist*)malloc(LEN)。 } struct linklist* create() /*創(chuàng)建鏈表 */ { int i, sum。 printf(cannot save the data.)。 cprintf(Press N(n) to finish add book or Press any key to add more book.)。 cprintf(Please input the return time():)。 cprintf(Please input the borrow time():)。s card:)。 scanf(%s,amp。 scanf(%s,amp。)。 gotoxy(2,2)。 clrscr()。 FILE *fp。 } }while(ky != Key_N)。 ky = key()。 scanf(%s, amp。 scanf(%f, amp。 scanf(%f,amp。 scanf(%d,amp。 scanf(%s,amp。)。 gotoxy(2,4)。 cprintf(Please input the book39。 if((fp = fopen(e:\\,ab)) == NULL) { printf(cannot open the addbuy data.)。 bpurchase pinfo。 menu()。 getch()。 getch()。 printf(cannot save the data.)。 ky = key()。)。 getchar()。 gotoxy(2,20)。 cprintf(Please input the ISBN of the book:)。 scanf(%f,amp。)。 gotoxy(2,14)。s edition:)。)。 gotoxy(2,10)。s writer:)。)。 gotoxy(2,6)。s number:)。)。 } do { clrscr()。 if((fp = fopen(e:\\,rb)) != NULL) /*讀取圖書基本信息數(shù)量 sum*/ { fread(amp。 bbasic binfo。 default:printf(Error)。 /*增加圖書購(gòu)買信息 */ case 13:addborrow()。 switch(y) /*選擇增加信息類型的函數(shù) */ { case 7 :addbook()。 cprintf( Add Book )。 normvideo()。 gotoxy(25, 2)。 gotoxy(30,13)。 cprintf(Add Basic info)。 } } void add() /*顯示 選擇增加那種類型的信息 的窗口 */ { int y。 break。 break。 return。 puttext(i,y+3,i,y+3,amp。t)。i++) { gettext(i,y,i,y,amp。 }texel。 return。 puttext(i,y3,i,y3,amp。t)。i++) { gettext(i,y,i,y
點(diǎn)擊復(fù)制文檔內(nèi)容
公司管理相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖片鄂ICP備17016276號(hào)-1