[求助]关于graphics.h的rectangle()的问题
include<stdio.h>
include<graphics.h>
include <stdlib.h>
include <dos.h>
main()
int gd=DETECT,gm=0;
int i;
initgraph(&gd,&gm,"d:\tc");
cleardevice();
setcolor(11);
setlinestyle(SOLID_LINE,0,3);
for(i=50;i<=500;i=i+10)
rectangle(i,40,i+10,49);
rectangle(100,100,400,400) ;
}
上边框为什么是虚线????
include<graphics.h>
include <stdlib.h>
include <dos.h>
main()
int gd=DETECT,gm=0;
int i;
initgraph(&gd,&gm,"d:\tc");
cleardevice();
setcolor(11);
setlinestyle(SOLID_LINE,0,3);
for(i=50;i<=500;i=i+10)
rectangle(i,40,i+10,49);
rectangle(100,100,400,400) ;
}
上边框为什么是虚线????