文件名称:2003010296_大作业1
- 所属分类:
- 其它资源
- 资源属性:
- [Windows] [Visual.Net] [源码]
- 上传时间:
- 2008-10-13
- 文件大小:
- 502.05kb
- 下载次数:
- 0次
- 提 供 者:
- B**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
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)
(系统自动生成,下载前可以参看下载内容)
下载文件列表
压缩包 : 9807522003010296_大作业1.zip 列表 BallCollision/ BallCollision/ball.h BallCollision/BallCollision.aps BallCollision/BallCollision.cpp BallCollision/BallCollision.h BallCollision/BallCollision.ico BallCollision/BallCollision.ncb BallCollision/BallCollision.rc BallCollision/BallCollision.sln BallCollision/BallCollision.suo BallCollision/BallCollision.vcproj BallCollision/BallCollision_or.cpp BallCollision/Copy of BallCollision.cpp BallCollision/Debug/ BallCollision/Debug/BallCollision.exe BallCollision/Debug/BallCollision.ilk BallCollision/Debug/BallCollision.res BallCollision/Debug/BuildLog.htm BallCollision/Debug/stdafx.obj BallCollision/Debug/vc70.idb BallCollision/Debug/vc70.pdb BallCollision/Output-Build.txt BallCollision/ReadMe.txt BallCollision/resource.h BallCollision/small.ico BallCollision/stdafx.cpp BallCollision/stdafx.h