Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - getlength
Search - getlength - List
a CRect rc(x - 12, y - 12, x + 12, y + 12) pDC->Ellipse(&rc) str1.Format( \"%d\",j ) pDC->SetTextColor(RGB(255,0,0)) pDC->DrawText(str1,&rc,DT_CENTER DT_VCENTER DT_SINGLELINE) PaintArrow(pDC,RGB(255,0,0),G.vexs[prev[j]].x,G.vexs[prev[j]].y,G.vexs[j].x,G.vexs[j].y) str2.Format(\"(%d,%d)\",G.AdjMatrix[i][j],G.Path[i][j]) pDC->TextOut((G.vexs[i].x + G.vexs[j].x) / 2 - 5 * str2.GetLength() / 2,(G.vexs[i].y + G.vexs[j].y) / 2 - 5,str2) j = i } MessageBox(\"找到增流路!\") return true }-a CRect rc (x-12, y-12, 12 x, y 12) pDC - gt; Ellipse (rc) str1.Format ( "% d", j) pDC - gt; SetTextColor (RGB (22, 0)) pDC - gt; DrawText (str1, rc, DT_CENTER DT_VCENTER DT_SINGLELINE) PaintArrow (pDC, RGB (255,0,0), G.vexs [prev [j]]. x, G. vexs [prev [j]]. y, G.vexs [j]. x, G.vexs [j]. y) str2.Format ( "(% d,% d)," G. AdjMatrix [i] [j ], G. Path [i] [j]) pDC - gt; TextOut ((G.vexs [i]. x G.vexs [j]. x) / 2 - 5 * str2.GetLength () / 2, ( G.vexs [i]. y G.vexs [j]. y) / 2 - 5, str2) j = i) MessageBox ( "find increasing flow path!") return true)
Date : 2008-10-13 Size : 502.05kb User : Bob
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.