CODE:int r = 300; // радиус
int step = 2; // шаг
int WidthDisplay, HeightDisplay, ColorDisplay;
getdisplay(ColorDisplay, WidthDisplay, HeightDisplay);
for (int i=0; i<360; i=i+step)
{
int x = WidthDisplay / 2 + cos(i) * r;
int y = HeightDisplay / 2 + sin(i) * r;
mousemove (x, y);
sleep (10);
} |