[求助]图象显示问题
#include "graphics.h"
main()
{
int GraphDriver=DETECT;
int GraphMode;
int x,y,r,i,j;
initgraph(&GraphDriver,&GraphMode,"");
setbkcolor(RED);
x=200;y=200;r=5;
for(i=0;i<5;i++)
{
setcolor(j);
x=x+35;
if(i%2==1)
y=y+33;
circle(x,y,30);
if(i%2==1)
y=y-33;
j+=1;
}
}
画一个5环,但运行后显示BGI ERROR:GRAPHICS NOT INITIALIZED (USE ’INITGRAPHICS‘)
S是什么问题啊