Introduction - If you have any usage issues, please Google them yourself
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)
Packet : 9807522003010296_大作业1.zip filelist
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