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

正文內(nèi)容

華中科技大學(xué)計(jì)算機(jī)科學(xué)與技術(shù)學(xué)院-資料下載頁(yè)

2025-08-08 08:54本頁(yè)面
  

【正文】 ,mymonth,myday,a1,a2,a3,aa=0。 p=getnowtime()。 =ptm_year 。 =ptm_mon 。 =ptm_mday 。 ddate=date_interval(amp。psbookcard[i].bdate,amp。nowdate)。 if(ddateyear=1||ddatemon=1) { myday=ddateday。 mymonth=ddatemon。 myyear=ddateyear。 a1=myyear*365*。 a2=mymonth*30*。 a3=myday*。 aa=a1+a2+a330*。 } return aa。}/***************************functions of book(file to list)****************************/void addbook(void){ FILE*fp 。 BOOK*h,*p,buf 。 char flag=39。y39。 。 clearwindow()。 initializebooknode(amp。buf)。 fp=fopen(d:\\c\\system\\,rb)。 if(fp==NULL) { fclose(fp)。 h=creatbooklist()。 sortbooklist(h)。 savebooklist(h,fp)。 freebooklist(h)。 } else { h=recreatbooklist(fp)。 while(flag==39。y39。||flag==39。Y39。) { clearwindow()。 getbooknode(amp。buf)。 p=searchbooknode(amp。buf,h,sort)。 /*返回前趨節(jié)點(diǎn)*/ if(pbnext!=NULL) { gotoxy(22,row++)。 cprintf(This book has already existed,please change a sortID.)。 } else { insertbooknode(amp。buf,p)。 sortbooklist(h)。 } gotoxy(22,row++)。 cprintf(continue?(y/n):)。 flag=getche()。 } fclose(fp)。 savebooklist(h,fp)。 freebooklist(h)。 } fclose(fp)。 clearwindow()。}void inquirebook(void){ FILE*fp 。 int flag=39。y39。 。 BOOK buf,*h,*p 。 char word[10]。 row=3 。 textcolor(BLUE)。 textbackground(LIGHTGRAY)。 clearwindow()。 initializebooknode(amp。buf)。 fp=fopen(d:\\c\\system\\,rb)。 if(fp==NULL) { gotoxy(22,row++)。 cprintf(There is not any book existed!)。 fclose(fp)。 getch()。 } else { h=recreatbooklist(fp)。 while(flag==39。y39。||flag==39。Y39。) { clearwindow()。 gotoxy(22,row++)。 cprintf(input the mode of search(sort/name/keyword):)。 mygets(word,BLUE)。 if(strcmp(word,sort)==0) { gotoxy(22,row++)。 cprintf(input sortID:)。 mygets(,BLUE)。 p=searchbooknode(amp。buf,h,word)。 if(pbnext!=NULL) printbooknode(pbnext)。 else { gotoxy(22,row++)。 cprintf(This book do not exist!)。 } } else if(strcmp(word,name)==0) { gotoxy(22,row++)。 cprintf(input name:)。 mygets(,BLUE)。 p=searchbooknode(amp。buf,h,word)。 if(pbnext!=NULL) printbooknode(pbnext)。 else { gotoxy(22,row++)。 cprintf(This book do not exist!)。 } } else if(strcmp(word,keyword)==0) { gotoxy(22,row++)。 cprintf(input keyword:)。 mygets(,BLUE)。 searchbooknode2(amp。buf,h)。 } gotoxy(22,row++)。 cprintf(continue?(y/n))。 flag=getche()。 } } fclose(fp)。 freebooklist(h)。 clearwindow()。}void modifybook(void){ FILE*fp 。 BOOK buf,*p,*h,*p2 。 char flag=39。y39。,flag2 。 row=3 。 textcolor(BLUE)。 textbackground(LIGHTGRAY)。 clearwindow()。 initializebooknode(amp。buf)。 fp=fopen(d:\\c\\system\\,rb)。 if(fp==NULL) { gotoxy(22,row++)。 cprintf(There is not any book existed!)。 fclose(fp)。 getch()。 } else { h=recreatbooklist(fp)。 while(flag==39。y39。||flag==39。Y39。) { clearwindow()。 gotoxy(22,row++)。 cprintf(please input the sortID:)。 mygets(,BLUE)。 p=searchbooknode(amp。buf,h,sort)。 if(pbnext==NULL) { gotoxy(22,row++)。 cprintf(This book do not exist!)。 } else { printbooknode(pbnext)。 gotoxy(22,row++)。 cprintf(Do you want to modify this book?(y/n))。 flag2=getche()。 if(flag2==39。y39。||flag2==39。Y39。) { getbooknode(amp。buf)。 p2=searchbooknode(amp。buf,h,sort)。 /*返回前趨節(jié)點(diǎn)*/ if(p2bnext!=NULLamp。amp。p2bnext!=pbnext) { gotoxy(22,row++)。 cprintf(This book has already existed,please change a sortID.)。 } else { *(pbnext)=buf。 sortbooklist(h)。 fclose(fp)。 savebooklist(h,fp)。 freebooklist(h)。 } } } gotoxy(22,row++)。 cprintf(continue?(y/n))。 flag=getche()。 } } fclose(fp)。 clearwindow()。}void delbook(void){ FILE*fp 。 char flag=39。y39。,flag2 。 BOOK buf,*p,*h 。 row=3 。 textcolor(BLUE)。 textbackground(WHITE)。 clearwindow()。 initializebooknode(amp。buf)。 fp=fopen(d:\\c\\system\\,rb)。 if(fp==NULL) { gotoxy(22,row++)。 cprintf(There is not any book existed!)。 fclose(fp)。 getch()。 } else { h=recreatbooklist(fp)。 while(flag==39。y39。||flag==39。Y39。) { clearwindow()。 gotoxy(22,row++)。 cprintf(Please input the sortID:)。 mygets(,BLUE)。 p=searchbooknode(amp。buf,h,sort)。 if(pbnext==NULL) {
點(diǎn)擊復(fù)制文檔內(nèi)容
語(yǔ)文相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1