#include"graphics.h"
void field();
void plane();
main()
{
int driver=DETECT,mode=0;
initgraph(&driver,&mode,"c:\\tc");
cleardevice();
field();
plane();
getch();
setcolor(YELLOW);
setbkcolor(BLACK);
cleardevice();
closegraph();
}
void field()
{
setcolor(12);
circle(320,400,50);
setfillstyle(SOLID_FILL,LIGHTRED);
floodfill(320,375,12);
setbkcolor(7);
setfillstyle(SOLID_FILL,GREEN);
bar(0,380,639,479);
setcolor(14);
line(0,380,639,380);
line(0,390,639,390);
line(0,410,639,410);
line(0,440,639,440);
line(0,479,639,479);
line(0,400,60,380);
line(0,430,130,380);
line(0,479,200,380);
line(120,479,245,380);
line(210,479,280,380);
line(280,479,310,380);
line(320,479,320,380);
line(360,479,330,380);
line(430,479,360,380);
line(520,479,395,380);
line(639,479,450,380);
line(639,430,520,380);
line(639,400,590,380);
getch();
}
void plane()
{
int i;
for(i=0;i<115;i++)
{
setcolor(15);
line(50+5*i,50,100+5*i,50);
line(80+5*i,40,95+5*i,50);
line(80+5*i,60,95+5*i,50);
line(45+5*i,45,50+5*i,50);
delay(500);
setcolor(getbkcolor());
line(50+5*i,50,100+5*i,50);
line(80+5*i,40,95+5*i,50);
line(80+5*i,60,95+5*i,50);
line(45+5*i,45,50+5*i,50);
}
}
[招生]科锐逆向工程师培训(2024年11月15日实地,远程教学同时开班, 第51期)