Animation
Here is the simple program which will make the circle and going to animate it, you can add your own methods in it, for getting more and more circles or may be the line in your output.
#include<iostream.h>
#include<conio.h>
#include<graphics.h>
#include<dos.h>
#Include<stdlib.h>
void main()
{
int i,j;
int gd=DETECT, gm;
initgraph(&gd,&gm,"c:/your own path"); // for example "turboc3/bgi
for(i=0;i<=123;i++)
{
cleardevice(); // it will clear the values stored previously
circle(223,32,i); // this will increase the radius of the circle
line (323,343,i,343);
delay(23); // since the execution takes place rapidly we decrease the speed of it
}
getch();
closegraph(); // this will terminate or close the internalized graph
}
This is very simple program hopping this will useful for you.