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

正文內(nèi)容

軟件工程課程設(shè)計(jì)-城市公交查詢系統(tǒng)課程設(shè)計(jì)說明書-文庫吧資料

2024-08-27 11:28本頁面
  

【正文】 printf(公交站點(diǎn)名長(zhǎng)度不符合要求!請(qǐng)重新輸入公交站點(diǎn)名(輸入0表示返回):)。 p = pnext。 //表示公交站點(diǎn)已存在,可以刪除 break。amp。 mark = false。 } q = head。 gets(stationName)。 } printf(\n\n\n請(qǐng)輸入你想要?jiǎng)h除的公交站點(diǎn)名(輸入0表示返回):)。 } i++。 if(pcityId == g_cityId){ printf(%s\t,pstationName)。 printf(\n\n本城市已有的公交站點(diǎn):\n)。 headnext = p。pcityId)。 fscanf(fp, %d %s %d,amp。 if(fp){ while(!feof(fp)){ //產(chǎn)生鏈表 p = (struct station*)malloc(sizeof(struct station))。 headnext = NULL。 struct station *head,*p,*q。 int stationId,cityId。 char option。 FILE *fp。}void SiteDelete(){ system(cls)。 return。打開失敗!\n\n\n)。 }else{ printf(\n\n\n\n\n\t\t文件39。 p2 = head2next。 while(p2 != NULL){ head2next = head2nextnext。 } free(head)。 free(p)。 } p = headnext。 system(pause)。39。 } fclose(fp2)。 while(p != NULL){ fprintf(fp, %d %d %d %d %d %d,pstationId,proadId,psep,pdistance,ptime,pcityId)。 } fp2 = fopen(,w)。 } q = p。 free(p)。 p = headnext。 } p2 = p2next。 psep。amp。 } p = headnext。 break。 pstationId == stationId){ sep = psep。 while(p != NULL){ if(proadId == p2roadId amp。 p2 = head2next。 headnext = p。 head2next = p2。 strcpy(p2roadName,)。 p2roadId = proadId。 if(pstationId == stationId){ p2 = (struct road*)malloc(sizeof(struct road))。ptime,amp。psep,amp。pstationId,amp。 pnext = NULL。 head2next = NULL。 headnext = NULL。 fp = fopen(,r)。 struct relation *head,*p,*q。 FILE *fp,*fp2。}void SiteDeleteDeal(int stationId){ //站點(diǎn)刪除處理函數(shù) //printf(\n所有經(jīng)過該站點(diǎn)的公交線路都將跳過該站點(diǎn)!\n)。 return。打開失??!\n\n\n)。 } }else{ printf(\n\n\n\n\n\t\t文件39。 system(pause)。city39。 fclose(fp)。 //釋放鏈表結(jié)點(diǎn),節(jié)省內(nèi)存 p = headnext。 headnext = headnextnext。 while(p != NULL){ //更新公交站點(diǎn)文件信息 //printf(b)。 fp = fopen(,w)。 } } strcpy(pstationName,stationName)。 if(strlen(stationName) 20 || strlen(stationName) 4){ printf(公交站點(diǎn)名長(zhǎng)度不符合要求!請(qǐng)重新輸入新的公交站點(diǎn)名:)。 while(1){ fflush(stdin)。 }else{ printf(此公交站點(diǎn)不存在!請(qǐng)重新輸入公交站點(diǎn)名(輸入0表示返回):)。 } if(mark){ break。 //表示公交站點(diǎn)已存在,可以修改 break。amp。 mark = false。 if(!strcmp(stationName,0)){ //把輸入0作為模塊出口 break。 //對(duì)輸入的公交站名做正確性驗(yàn)證 while(1){ fflush(stdin)。 } p = pnext。 if(i%5 == 0){ printf(\n)。 //將本城市已有的公交站點(diǎn)全部顯示出來 while(p != NULL){ //printf(a)。 } p = headnext。 pnext = headnext。pstationId,pstationName,amp。 pnext = NULL。 fp = fopen(,r)。 head = (struct station*)malloc(sizeof(struct station))。 char stationName[20]。 bool mark = false。 FILE *fp。} void SiteChange(){ system(cls)。 return。打開失??!\n\n\n)。 } }else{ printf(\n\n\n\n\n\t\t文件39。 system(pause)。city39。 fclose(fp)。 //釋放鏈表結(jié)點(diǎn),節(jié)省內(nèi)存 p = headnext。 headnext = headnextnext。 while(p != NULL){ //更新公交站點(diǎn)文件信息 //printf(b)。 fp = fopen(,w)。 headnext = p。 strcpy(pstationName,stationName)。 pstationId = stationIdMark。 pnext = NULL。 }else{ break。 } if(mark){ printf(此公交站點(diǎn)已存在!請(qǐng)重新輸入公交站點(diǎn)名(輸入0表示返回):)。 //表示公交站點(diǎn)已存在,不需要再添加 break。amp。 mark = false。 if(!strcmp(stationName,0)){ //把輸入0作為模塊出口 break。 //對(duì)輸入的公交站名做正確性驗(yàn)證 while(1){ fflush(stdin)。 } p = pnext。 if(i%5 == 0){ printf(\n)。 while(p != NULL){ //printf(a)。 } /*if(p == NULL){ printf(\n\n本城市暫時(shí)還沒有添加任何公交站點(diǎn)!\n)。 } i++。 if(pcityId == g_cityId){ printf(%s\t,pstationName)。 printf(\n\n本城市已有的公交站點(diǎn):\n)。 headnext = p。 strcpy(pstationName,stationName)。 /*if(cityId == g_cityId){ pcityId = cityId。 headnext = p。 if(pstationId stationIdMark){ stationIdMark = pstationId。pstationId,pstationName,amp。 pnext = NULL。 fp = fopen(,r)。 head = (struct station*)malloc(sizeof(struct station))。 //記錄新建公交站點(diǎn)的編號(hào)(應(yīng)大于所有已有的公交站點(diǎn)) char stationName[20]。 int stationId,cityId。 int i = 1。 printf(站點(diǎn)增加界面)。 } return 0。 } default:exit(1)。 }else{ p = Logout(p)。break。break。break。break。break。 } } }else{ while(p){ //避免函數(shù)調(diào)用函數(shù)導(dǎo)致內(nèi)存爆炸 a:option = UserInterface(p)。break。break。 case 53:goto a。 case 52:AddCity()。 case 51:ChangeCity()。 case 50:SiteManage()。 switch(option){ case 49:LineManage()。 }else{ //printf(\t\t你的身份:)。 } //printf(a)。break。break。break。 option = MainInterface()。 initialize()。 //根據(jù)站點(diǎn)編號(hào)顯示公交站點(diǎn)名 int main(){ struct user *p。 //將當(dāng)前城市所有的公交線路和站點(diǎn)構(gòu)成一張圖 void showRoadName(int roadId)。 //顯示經(jīng)過公交站點(diǎn)所有的公交線路 void ShowAllWay(int start,int end)。 //刪除公交線路上所有的站點(diǎn) void LineShow(int roadId)。 //線路刪除函數(shù)void LineInsertSite(int roadId)。 //線路增加函數(shù) void LineChange()。 //站點(diǎn)刪除函數(shù)void SiteDeleteDeal(int stationId)。 //站點(diǎn)增加函數(shù) void SiteChange()。 //切換城市 void AddCity()。 //修改密碼函數(shù) void Inputpw(char *password,int len)。 //站點(diǎn)查詢函數(shù) void SiteToSiteQuery()。 //站點(diǎn)管理函數(shù) void LineQuery()。 //注銷函數(shù) void LineManage()。 //用戶界面int AdminInterface(struct user* p)。 //找回密碼 void initialize()。 //登錄函數(shù) struct user *Register()。 //記錄當(dāng)前城市編號(hào)的全局變量 int MainInterface()。 //指向下一個(gè)站點(diǎn)與線路映射信息的指針,便于建立鏈表 }。 //在此公交線路下這個(gè)車站到下一站所需要的時(shí)間(單位:min) int cityId。 //車站在此公交線路的序號(hào) int distance。 //車站編號(hào) int roadId。 //指向下一個(gè)公交線路信息的指針,便于建立鏈表 }。 //公交線路名稱 int cityId。struct road //記錄公交線路信息 { int roadId。 //所屬城市編號(hào) struct station *next。 //車站編號(hào) char stationName[20]。
點(diǎn)擊復(fù)制文檔內(nèi)容
環(huán)評(píng)公示相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1