Chmm mam problem z pokolorowaniem prostokąta:
Kod:
program graph1;
USES CRT,GRAPH;
VAR
ster,tryb:integer;
Begin
detectgraph(ster,tryb);
initgraph(ster,tryb,' "" ');
setcolor(4);
rectangle(220,220,280,240);
setfillstyle(12,yellow);
floodfill(250,220,yellow);
readln;
closegraph;
End.
Maluje mi cały ekran zamiast figury...