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

正文內(nèi)容

數(shù)字城市查詢系統(tǒng)設(shè)計(jì)及數(shù)據(jù)庫設(shè)計(jì)畢業(yè)論文-資料下載頁

2025-06-22 14:41本頁面
  

【正文】 lngtemp[j]=39。\039。 j=0。 newPlngID=atol(lngtemp)。 } else { lngtemp[j]=temp[i]。 j++。 } } } }//end else }//end for newPnext=NULL。//尾節(jié)點(diǎn) ()。//關(guān)閉數(shù)據(jù)庫數(shù)字城市查詢系統(tǒng)設(shè)計(jì)及數(shù)據(jù)庫設(shè)計(jì) //coutoutendl。 return plistnext。} 顯示相關(guān)信息功能模塊函數(shù)集合include string ShowInformation::ShowSuggest(char * chrData)//顯示相近關(guān)鍵字建議{ int i=0,j=0。 char chrSql[200]。 // char chrDT[40]=%。 char chr[2]=%。 string strRe。 // strcat(chrDT,chrData)。//實(shí)現(xiàn) “ %+key+%“ //含糊查詢 sprintf(chrSql, Select name from coordinate\n where name like39。%s%s%s39。,chr,chrData,chr)。 string strResult[15]。//儲(chǔ)存查詢結(jié)果 //coutsql=chrSqlendl。 mapDB s。 ( chrSql,)。 int row=()。//查詢記錄數(shù) //最多顯示 15 條查詢記錄 if (row=15) j=15。 else j=row。 //coutrow=rowendl。 if (row==0) { return 查詢無相關(guān)結(jié)果! 。 } else { strRe=listrong你查詢的是不是這些:/strong。 for(i=0。ij。i++) { strResult[i]=()。 //couti=strResult[i]endl。 strRe+=lia href=\+strResult[i]+\+strResult[i]+/a。 } } ()。 return strRe。第七章 部分功能代碼}string ShowInformation::SelectInformation(long id)//顯示建筑詳細(xì)信息 { char chrSql[200]。 string strResult。 int i=0,j=0。 string strRe,strTemp。 char lngtemp[50]。 //查詢建筑表 ,地理說明、介紹 sprintf(chrSql, Select geographyshow,explain from building\n where id =39。%ld39。, id)。 strRe=listrong附近地理情況 :/strongol。 mapDB s。 (chrSql,)。 int row=()。 if(row==0) { strRe+=/ollistrong相關(guān)介紹:/strong/ol。 ()。 return strRe。 } char * temp=()。 strResult=()。 for(。istrlen(temp)。i++)//分解鏈表賦值 { if((int)temp[i]==32) { lngtemp[j]=39。\039。 j=0。 strTemp=lngtemp。 strRe+=lia href=\+strTemp+\+strTemp+/a。 } else { lngtemp[j]=temp[i]。 j++。 } } lngtemp[j]=39。\039。 strTemp=lngtemp。 strRe+=lia href=\+strTemp+\+strTemp+/a/ol。 strRe+=listrong相關(guān)介紹:/strongol。 strRe+=li+strResult+/ol。 ()。數(shù)字城市查詢系統(tǒng)設(shè)計(jì)及數(shù)據(jù)庫設(shè)計(jì) return strRe。}string ShowInformation::parkshow(long id)//顯示公園信息{ char chrSql[200]。 string strResult[2]。 int i=0,j=0。 string strRe,strTemp。 char lngtemp[50]。 //查詢建筑表 ,地理說明、介紹 sprintf(chrSql, Select mapID,geographyshow,remark from park\n where id =39。%ld39。, id)。 mapDB s。 ( chrSql,)。 strResult[0]=()。 char * temp=()。 strResult[1]=()。 strRe=a href=\進(jìn)入+strResult[0]+\進(jìn)入/a。 strRe+=listrong附近地理情況 :/strongol。 for(。istrlen(temp)。i++)//分解鏈表賦值 { if((int)temp[i]==32) { lngtemp[j]=39。\039。 j=0。 strTemp=lngtemp。 strRe+=lia href=\+strTemp+\+strTemp+/a。 } else { lngtemp[j]=temp[i]。 j++。 } } lngtemp[j]=39。\039。 strTemp=lngtemp。 strRe+=lia href=\+strTemp+\+strTemp+/a/ol。 strRe+=listrong相關(guān)介紹:/strongol。 strRe+=li+strResult[1]+/ol。 ()。 return strRe。}第七章 部分功能代碼string ShowInformation::station(long id)//顯示公交、地鐵信息 { char chrSql[200]。 char lngtemp[50]。 int i=0,j=0。 string strRe,strTemp。 sprintf(chrSql, Select remark from station\n where id =39。%ld39。, id)。 strRe=listrong該線的站點(diǎn) :/strongol。 mapDB s。 ( chrSql,)。 char * temp=()。 for(。istrlen(temp)。i++)//分解鏈表賦值 { if((int)temp[i]==32) { lngtemp[j]=39。\039。 j=0。 strTemp=lngtemp。 strRe+=lia href=\+strTemp+\+strTemp+/a。 strTemp=。 } else { lngtemp[j]=temp[i]。 j++。 } } lngtemp[j]=39。\039。 strTemp=lngtemp。 strRe+=lia href=\+strTemp+\+strTemp+/a/ol。 ()。 return strRe。}string ShowInformation::showgjx(char * chrData){ int i=0,j=0。 char chrSql[200]。 // char chrDT[40]=%。 char chr[2]=%。 string strRe。 //strcat(chrDT,chrData)。//實(shí)現(xiàn) “ %+key+%“ //含糊查詢 sprintf(chrSql, Select id from station\n where remark like39。%s%s%s39。,chr,chrData,chr)。數(shù)字城市查詢系統(tǒng)設(shè)計(jì)及數(shù)據(jù)庫設(shè)計(jì) //string strResult[15]。//儲(chǔ)存查詢結(jié)果 //coutsql=chrSqlendl。 mapDB s。 ( chrSql,)。 int row=()。//查詢記錄數(shù) //最多顯示 15 條查詢記錄 if (row=15) j=15。 else j=row。 //coutrow=rowendl。 strRe=listrong經(jīng)過該站的車有:/strong。 for(i=0。ij。i++) { // strResult[i]=()。 long num=atol(())。 sprintf(chrSql, Select name from coordinate\n where Id=%ld。, num)。 mapDB b。 ( chrSql,)。 string str_tmp=()。 ()。 //couti=strResult[i]endl。 strRe+=lia href=\+str_tmp+\+str_tmp+/a。 } strRe+=/ol。 ()。 return strRe。}string ShowInformation::range(findNode node)//‘范圍查找,啟動(dòng)線程{ char chrSql[200]。 strBuilding=listrong附近建筑物情況:/strong。 strStation=listrong附近公交車站情況 :/strong。 strUnderground=listrong附近地鐵情況 :/strong。 //以中間的 地圖為(0,0)圖,以圖左上點(diǎn)為(0,0) ,RENGEX 為顯示 x 寬度,RENGEMAX 為小地圖大小 intCX=。//x 坐標(biāo)負(fù)方向 intPX=+RANGEX。//x 坐標(biāo)正 方向 intCY=。// intPY=+RANGEY。//第七章 部分功能代碼 //intCX 為( 0,0)圖的顯示 x 范圍左邊的 邊界值,reIntCX 為(1,0)圖 x 范圍左邊的邊界值 if(intCX0) reIntCX=0。 else { reIntCX=intCX。 intCX=0。 } //intPX 為(0,0)圖的顯示 x 范圍右邊的 邊界值,reIntPX 為(1,0)圖 x 范圍右邊的邊界值 if(intPXRENGEMAX) { reIntPX=intPXRENGEMAX。 intPX=RENGEMAX。 } else reIntPX=0。 //intCY 為( 0,0)圖的顯示 y 范圍左邊的 邊界值,reIntCY 為(0,1)圖 y 范圍左邊的邊界值 if(intCY0) reIntCY=0。 else { reIntCY=intCY。 intCY=0。 } //intPY 為(0,0)圖的顯示 Y 范圍右邊的 邊界值,reIntPX 為(0,1)圖 Y 范圍右邊的邊界值 if(intPYRENGEMAX) { reIntPY=intPYRENGEMAX。 intPY=RENGEMAX。 } else reIntPY=0。 mapDB s。 long lngSQLid=(int)(),lngTemp。//找地圖編號(hào) //(1,1) lngTemp=lngSQLid99。 sprintf(chrSql, Select name,sign from coordinate\n where Id like 39。%ld_____39。 and x=%d and 數(shù)字城市查詢系統(tǒng)設(shè)計(jì)及數(shù)據(jù)庫設(shè)計(jì)x=%d and y=%d and y=%d 。, lngTemp,reIntCX,RENGEMAX,reIntCY,RENGEMAX)。 //coutsql=chrSqlendl。 ( chrSql,)。
點(diǎn)擊復(fù)制文檔內(nèi)容
醫(yī)療健康相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1