);
}
//初始化点数组
for(int i=0;i<=m_body.GetUpperBound();i++)
{
CPoint ysPoint=m_body.GetAt(i);
MemDC.Rectangle(
CRect(10+ysPoint.y*10,
120+ysPoint.x*10,
10+(ysPoint.y+1)*10,
120+(ysPoint.x+1)*10)
); }
dc.BitBlt( 0, 0, 325, 425, &MemDC,0, 0, SRCCOPY ); VC++贪吃蛇游戏设计+流程图(15):http://www.youerw.com/jisuanji/lunwen_3399.html