有趣的图一个
#include<stdio.h>
#include<graphics.h>
int main()
{
int gdriver,gmode,i,j;
gdriver=VGA;
gmode=VGAHI;
initgraph(&gdriver,&gmode,“c:\\turboc2”);
for(i=0;i<10;i++)
{
ellipse(599,399,0,360,25*i,10*i);
for(j=0;i>3;j++)
{ setcolor(0);
ellipse(599,399,0,360,25*j,10*j);
}
delay(100);/*这一句总觉的好想没用上啊!!*/
}
getch();
closegraph();
}