VC++鼠標畫圈

int r=100; int x0=gameRect.left+pt.x; int y0=gameRect.top+pt.y; int x,y; double n=0; MoveTo(x0,y0); while(n < 100) { x=x0+r*cos(n); y=y0-r*sin(n); MoveTo(x,y); Sleep(50); if ( GetCurs
相關文章
相關標籤/搜索