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

正文內(nèi)容

計(jì)算機(jī)算法實(shí)驗(yàn)報(bào)告范文(例文)精選合集-閱讀頁(yè)

2025-05-06 13:52本頁(yè)面
  

【正文】 來(lái)自鄰居 x 的一個(gè)列表,其中 x( i)表示 x 估計(jì)的到達(dá)路由器 i 所需要的時(shí)間。一個(gè)路由器針對(duì)每個(gè)鄰居都執(zhí)行這樣的計(jì)算,就可以發(fā)現(xiàn)最佳的估計(jì)值,然后在新的路由器表中使用這個(gè)最佳的估 計(jì)值以及對(duì)應(yīng)的輸出路線。 intflag。}RoutNode。RoutNodedata[VERNUM][VERNUM]。 voidInitRoutData(FILE*pfile)。 voidSendInf(intrecv,intsend)。 intmain(){ intstart,end,i,j,m,n。 wele()。 if(pfile==NULL) { printf(thefilewrong,pressanykeytoeback.\n)。 return。 fclose(pfile)。 for(i=0。 printf(\n)。 getch()。i=39。amp。c=0) { if(data[i][j].flag2==1) { setfillstyle(SOLID_FILL,5)。 delay(50000)。 } setfillstyle(SOLID_FILL,3)。 settextstyle(1,0,2)。 outtextxy(80*i+65,40*j+165,tmp)。 for(i=0。amp。 data[recv][i].flag=1。 } }/*endofif*/ }/*endoffor*/} voidExchange(){ inti,j。i0amp。data[i][j].flag!=1) { SendInf(i,j)。 實(shí)驗(yàn)二 一、實(shí)驗(yàn)?zāi)康募耙? 編寫程序,聯(lián)系 Socket 編程和 TCP/IP 協(xié)議的應(yīng)用,要求實(shí)現(xiàn)Server端和 Client端的信息通信。 三、源程序 /********************ChatClient*********************/importj.*。.*。.*。DataOutputStreamdos=null。TextAreata=newTextArea()。} publicvoidlaunchFrame(){setLocation(400,300)。add(tf,)。pack()。Listener(newWindowAdapter(){ publicvoidwindowClosing(WindowEvente){ disconn()。 }})。conn()。 dos=newDataOutputStream(())。}catch(UnknownHostExceptione){ ()。}} publicvoiddisconn(){try{ ()。}catch(IOExceptione){ ()。 (str)。 try{ (str)。 }catch(IOExceptione1){ ()。.*。 publicclassChatServer{ publicstaticvoidmain(String[]args){ booleanstarted=false。 started=true。 Sockets=()。 (一個(gè)客戶端已連接 )。 while(bConn){ Stringstr=()。 } } } ()。} 四、實(shí)驗(yàn)心得體會(huì)通過(guò)本次實(shí)驗(yàn)的練習(xí),熟悉了 TCP/IP 協(xié)議,對(duì)套接字等概念有了深入的了解,對(duì)用 Java 語(yǔ)言實(shí)現(xiàn) Socket 編程并實(shí)現(xiàn)客戶端和服務(wù)器端的信息交互有了一定的
點(diǎn)擊復(fù)制文檔內(nèi)容
試題試卷相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1