????
#include <graphics.h>main()
{
int driver=DETECT;
int mode,i;
initgraph(&driver,&mode,"");
setbkcolor(BLUE);
setcolor(YELLOW);
for(i=0;i<4;i++)
{
setlinestyle(i,0,1);
line(10,10+i*20,300,10+i*20);
}
setlinestyle(0,0,3);
line(10,90,300,90);
setlinestyle(4,0x33c,1);
line(10,110,300,110);
getch();
closegraph();
return 0;
}
为什么我编译的时候没有错误,但是运行的时候就有六个错误呢,而且全是链接错误,帮忙解答一哈,我刚刚学C的画图,不懂啊