文件名称:2003010296_大作业1
- 所属分类:
- 绘图程序
- 资源属性:
- [Windows] [Visual.Net] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 502kb
- 下载次数:
- 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)
相关搜索: TextOut
(系统自动生成,下载前可以参看下载内容)
下载文件列表
BallCollision
.............\ball.h
.............\BallCollision.aps
.............\BallCollision.cpp
.............\BallCollision.h
.............\BallCollision.ncb
.............\BallCollision.rc
.............\BallCollision.sln
.............\BallCollision.vcproj
.............\BallCollision_or.cpp
.............\Copy of BallCollision.cpp
.............\Debug
.............\.....\BallCollision.exe
.............\.....\BallCollision.ilk
.............\.....\BallCollision.res
.............\.....\BuildLog.htm
.............\.....\stdafx.obj
.............\.....\vc70.idb
.............\.....\vc70.pdb
.............\Output-Build.txt
.............\ReadMe.txt
.............\resource.h
.............\stdafx.cpp
.............\stdafx.h
.............\ball.h
.............\BallCollision.aps
.............\BallCollision.cpp
.............\BallCollision.h
.............\BallCollision.ncb
.............\BallCollision.rc
.............\BallCollision.sln
.............\BallCollision.vcproj
.............\BallCollision_or.cpp
.............\Copy of BallCollision.cpp
.............\Debug
.............\.....\BallCollision.exe
.............\.....\BallCollision.ilk
.............\.....\BallCollision.res
.............\.....\BuildLog.htm
.............\.....\stdafx.obj
.............\.....\vc70.idb
.............\.....\vc70.pdb
.............\Output-Build.txt
.............\ReadMe.txt
.............\resource.h
.............\stdafx.cpp
.............\stdafx.h