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

正文內(nèi)容

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

2025-07-08 01:26本頁(yè)面

【導(dǎo)讀】及相關(guān)公交系統(tǒng)查詢(xún)的地圖信息查詢(xún)系統(tǒng)。本系統(tǒng)具有可擴(kuò)展性好,實(shí)用性強(qiáng)、可移動(dòng)的特點(diǎn),易于移植到不同的硬件平臺(tái)和其他操作系統(tǒng)軟件環(huán)境。

  

【正文】 ( chrSql,)。//查詢(xún)數(shù)據(jù)庫(kù) char * temp=()。//獲得查詢(xún)結(jié)果 newP=new LineNodeList。 第七章 部分功能代碼 plist=newP。 int tmp。 for(。i=strlen(temp)。i++)//分解鏈表賦值 { tmp=(int)temp[i]。 if(tmp48amp。amp。tmp57amp。amp。tmp!=39。a39。amp。amp。tmp!=39。b39。amp。amp。tmp!=39。c39。)。//數(shù)據(jù)邊界檢測(cè) //cout數(shù)據(jù)有誤! class RespondForRequest getLineNodeendl。 else { if(tmp==97) //X 賦值 { lngtemp[j]=39。\039。 j=0。 newPnext=new LineNodeList。 newP=newPnext。 newPx=atoi(lngtemp)。 } else { if(tmp==98) //Y 賦值 { lngtemp[j]=39。\039。 j=0。 newPy=atoi(lngtemp)。 } else { if(tmp==99) //id 賦值 { 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ù)庫(kù) 數(shù)字城市查詢(xún)系統(tǒng)設(shè)計(jì)及數(shù)據(jù)庫(kù)設(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+%“ //含糊查詢(xún) sprintf(chrSql, Select name from coordinate\n where name like39。%s%s%s39。,chr,chrData,chr)。 string strResult[15]。//儲(chǔ)存查詢(xún)結(jié)果 //coutsql=chrSqlendl。 mapDB s。 ( chrSql,)。 int row=()。//查詢(xún)記錄數(shù) //最多顯示 15 條查詢(xún)記錄 if (row=15) j=15。 else j=row。 //coutrow=rowendl。 if (row==0) { return 查詢(xún)無(wú)相關(guān)結(jié)果! 。 } else { strRe=listrong你查詢(xún)的是不是這些: /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]。 //查詢(xún)建筑表 ,地理說(shuō)明、介紹 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ù)字城市查詢(xún)系統(tǒng)設(shè)計(jì)及數(shù)據(jù)庫(kù)設(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]。 //查詢(xún)建筑表 ,地理說(shuō)明、介紹 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+%“ //含糊查詢(xún) sprintf(chrSql, Select id from station\n where remark like39。%s%s%s39。,chr,chrData,chr)。 數(shù)字城市查詢(xún)系統(tǒng)設(shè)計(jì)及數(shù)據(jù)庫(kù)設(shè)計(jì) //string strResult[15]。//儲(chǔ)存查詢(xún)結(jié)果 //coutsql=chrSqlendl。 mapDB s。 ( chrSql,)。 int row=()。//查詢(xún)記錄數(shù) //最多顯示 15 條查詢(xún)記錄 if (row=15) j=15。 else j=row。 //coutrow=rowendl。 strRe=listrong經(jīng)過(guò)該站的車(chē)有 :/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附近公交車(chē)站情況 : /strong。 strUnderground=listrong附近地鐵情況 : /strong。 //以中間的 地圖為( 0
點(diǎn)擊復(fù)制文檔內(nèi)容
研究報(bào)告相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1