- 1
Can I make animations with C++
Gj
1 Answer
+ 4
Yes you can make animation but you have to use graphics for this.
see this one i created using graphics
#include<iostream>
#include<conio.h>
#include<graphics.h>
#include<dos.h>
void main()
{
clrscr();
int gdriver = DETECT,gmode;
int i;
initgraph(&gdriver,&gmode,"C:\\TC\\BGI");
// floodfill(20,2,2);
circle(262,228,160);
line(395,150,130,150); //UPPER LINE
line(395,150,148,340); //RIGHT TO LEFT LINE
line(370,340,130,150); //LEFT TO RIGHT LINE
line(260,67,145,345); //left to upper right
line(260,67,370,340);
delay(3000);
cleardevice();
settextstyle(7,0,7);
setcolor(5);
for(i=0;i<=3;i++)
{
outtextxy(150,200+i,"THANKYOU");
}
getch();
}