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

正文內(nèi)容

火車售票系統(tǒng)(已改無錯字)

2022-09-01 17:36:18 本頁面
  

【正文】 :\\, r+)) == 0) { printf(open file error!)。 exit(0)。 } while(!feof(fp)) { fscanf(fp, %d%s%s%s%f%d%d\n, amp。, , , , amp。, amp。, amp。)。 if(strcmp(zhongdian, ) == 0) { printf(%d %s %s %s %f %d %d\n, , , , , , , )。 } } fclose(fp)。 } void SearchWay(void) { int i。 printf(1. search by number\n)。 printf(2. search by end\n)。 printf(0. return back\n)。 printf(which way do you want?\n)。 scanf(%d, amp。i)。 switch(i) { case 1: SearchbyNum()。 break。 case 2: SearchbyEnd()。 break。 case 0: return。 default : break。 } } void Buy(void) { FILE *fp。 INFORMATION info。 time_t t。 struct tm *timeinfo。 int bc。 long pos, pos1。 printf(please input the banci you want to buy,input 0 to return back:\n)。 scanf(%d, amp。bc)。 if(0 == bc) return。 if((fp = fopen(c:\\, r+)) == 0) { printf(open file error!)。 exit(0)。 } time(amp。t)。 timeinfo = localtime(amp。t)。 while(1) { pos1 = ftell(fp)。 fscanf(fp, %d%s%s%s%f%d%d\n, amp。, , , , amp。, amp。, amp。)。 pos = ftell(fp) pos1。 if( == bc) { if( ) { if(GetHour() timeinfotm_hour) { printf(sorry, the plane has taken off!)。 } else if(GetHour() == timeinfotm_hour) { if(GetMinute() = timeinfotm_min) printf(sorry, the plane has taken off!)。 else { printf(take your ticket, bye!)。 ++。 fseek(fp, pos, SEEK_CUR)。 fprintf(fp, %d %s %s %s %f %d %d\n, , , , , , , )。 } } else { printf(take your ticket, bye!)。 ++。 fseek(fp, pos, SEEK_CUR)。 fprintf(fp, %d %s %s %s %f %d %d\n, , , , , , , )。 } } else printf(sorry, the tickets are all sold out!)。 break。 } } fclose(fp)。 } void Cancel(void) { FILE *fp。 INFORMATION info。 time_t t。
點擊復(fù)制文檔內(nèi)容
語文相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖片鄂ICP備17016276號-1