请教一个c图形的问题
#include <stdio.h>#include <graphics.h>
void main()
{
int x0,y0,x1,y1,driver,mode,i;
driver=VGA;
mode=VGAHI;
initgraph(&driver,&mode,"C:\TC201E\BGI");
setbkcolor(WHITE);
x0=263;x1=275;y0=263;y1=275;
for(i=0;i<=18;i++)
{
setcolor(BLACK);
rectangle(x0,y0,x1,y1);
x0=x0-5;y0=y0-5;x1=x1+5;y1=y1+5;
}
settextstyle(DEFAULT_FONT,HORIZ_DIR,2);
outtextxy(150,40,"HOW beatiful it is");
line(130,60,480,60);
setcolor(2);
circle(269,269,137);
}
刚开始学习在tc环境下画图,为什么代码运行通过了,可是什么都没显示呢?运行后屏幕是黑的,按任意键退出