//DEAL WITH IT ANIMATION C++
#include<iostream.h>
#include<graphics.h>
#include<conio.h>
#include<dos.h>
void main()
{
clrscr();
int gd=DETECT,gm,font=1;
initgraph(&gd,&gm,"C:\\tc\\bgi");
for(int i=0;i<200;i++)
{
settextstyle(0,HORIZ_DIR,3);
outtextxy(250+i-200,225,"C++");
outtextxy(430+i-200,225,"C++");
delay(10);
cleardevice();
}
line(80,210,100,200);
line(81,211,100,201);
line(82,212,100,202);
line(100,200,540,200);
line(100,201,540,201);
line(100,202,540,202);
line(180,200,240,260);
line(240,260,320,260);
line(320,260,360,220);
line(360,220,380,220);
line(380,220,420,260);
line(420,260,500,260);
line(500,260,540,200);
settextstyle(0,HORIZ_DIR,4);
outtextxy(150,300,"DEAL WITH IT!!");
settextstyle(0,HORIZ_DIR,1);
outtextxy(450,420,"-TPA Production()");
settextstyle(0,HORIZ_DIR,3);
outtextxy(250+i-200,225,"C++");
outtextxy(430+i-200,225,"C++");
getch();
}
#include<iostream.h>
#include<graphics.h>
#include<conio.h>
#include<dos.h>
void main()
{
clrscr();
int gd=DETECT,gm,font=1;
initgraph(&gd,&gm,"C:\\tc\\bgi");
for(int i=0;i<200;i++)
{
settextstyle(0,HORIZ_DIR,3);
outtextxy(250+i-200,225,"C++");
outtextxy(430+i-200,225,"C++");
delay(10);
cleardevice();
}
line(80,210,100,200);
line(81,211,100,201);
line(82,212,100,202);
line(100,200,540,200);
line(100,201,540,201);
line(100,202,540,202);
line(180,200,240,260);
line(240,260,320,260);
line(320,260,360,220);
line(360,220,380,220);
line(380,220,420,260);
line(420,260,500,260);
line(500,260,540,200);
settextstyle(0,HORIZ_DIR,4);
outtextxy(150,300,"DEAL WITH IT!!");
settextstyle(0,HORIZ_DIR,1);
outtextxy(450,420,"-TPA Production()");
settextstyle(0,HORIZ_DIR,3);
outtextxy(250+i-200,225,"C++");
outtextxy(430+i-200,225,"C++");
getch();
}
No comments:
Post a Comment