求高手给编写个图片,谢谢
求高手给编写个图片,谢谢。求高手给编写个图片,谢谢!~~~~~个你个大头 turbo C2.0 通过
#include <graphics.h>main()
{
int gd=VGA,gm=VGAHI,i;
initgraph(&gd,&gm,"");
do
{
for(i=1;i<22;i++)
{
setcolor(i%16);
circle(320,240,10*i);
circle(320-5*i,240-3*i,3*i);
circle(320+5*i,240-3*i,3*i);
line(320-4*i,240+5*i,320+4*i,240+5*i);
delay(20000);
cleardevice();
}
cleardevice();
for(i=21;i>0;i--)
{
setcolor(i%16);
circle(320,240,10*i);
circle(320-5*i,240-3*i,3*i);
circle(320+5*i,240-3*i,3*i);
line(320-4*i,240+5*i,320+4*i,240+5*i);
delay(20000);
cleardevice();
}
cleardevice();
}while(!kbhit());
}