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

正文內(nèi)容

火車售票系統(tǒng)-資料下載頁

2025-08-04 17:36本頁面
  

【正文】 struct tm *timeinfo。 int bc。 long pos, pos1。 printf(please input the banci you want to cancel,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(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(your ticket is canceled, bye!)。 。 fseek(fp, pos, SEEK_CUR)。 fprintf(fp, %d %s %s %s %f %d %d\n, , , , , , , )。 } } else { printf(your ticket is canceled, bye!)。 。 fseek(fp, pos, SEEK_CUR)。 fprintf(fp, %d %s %s %s %f %d %d\n, , , , , , , )。 } break。 } } fclose(fp)。 } void ForTicket(void) { int i。 printf(1. I want to buy a ticket\n)。 printf(2. I want to return a ticket\n)。 printf(0. return back\n)。 printf(which do you want?)。 scanf(%d, amp。i)。 switch(i) { case 1: Buy()。 break。 case 2: Cancel()。 break。 case 0: return。 default : break。 } } int main() { int i。 while(1) { printf(\n1. 錄入班次信息\n)。 printf(2. 瀏覽班次信息\n)。 printf(3. 查詢路線\n)。 printf(4. 售票退票\n)。 printf(\nPlease input a number from 1 to 4 like above ,use 0 to exit!\n)。 scanf(%d,amp。i)。 switch(i) { case 0: return 0。 case 1: AddInformation()。 break。 case 2: ShowInformation()。 break。 case 3: SearchWay()。 break。 case 4: ForTicket()。 break。 default : printf(Wrong number!\n)。 break。 } } }
點擊復(fù)制文檔內(nèi)容
語文相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1