#include "graphics.h"
#include "stdio.h"
#include "stdlib.h"
#include "conio.h"
void main()
{
void *w;
int driver,mode,i,b;
driver = VGA;
mode = VGAMED;
initgraph(&driver,&mode,"D:\\TC201E\\BGI");
cleardevice();
setbkcolor(3);
setcolor(4);
circle(430,300,30); //*画自行车*//
circle(510,320,10);
arc(460,320,0,90,50);
arc(430,270,270,360,30);
ellipse(460,265,180,360,7,5);
line(430,300,440,250);
circle(440,246,4);
w = malloc(imagesize(400,200,520,330));
getimage(400,200,520,330,w);
for(i=400;i>0;i--) //*让自行车从右向左动起来*//
{
putimage(i-1,200,w,COPY_PUT);
line(2,330,630,330);
}
getch();
closegraph();
}
为什么运行时自行车后会生成一条红色粗线,请问高手怎样把那红色粗线去掉??????
[求助]百思不得其解????????