Circle movement in turbo c [Closed]

qutecynosure 1 Posts Monday June 14, 2010Registration date June 14, 2010 Last seen - Jun 14, 2010 at 11:01 AM - Latest reply:  saurabh
- Mar 24, 2018 at 06:52 AM
I have drawn a circle within a circle. Now I want to give random movement to the inner circle. Plz tell me how will I do it in turbo c.

Regards


See more 

11 replies

+32
Helpful
10
#include<graphics.h>
#include<stdio.h>
#include<conio.h>


int gd=DETECT,gm,col=0;
initgraph(&gd,&gm," ");
while(!kbhit())
{
setcolor(15);

delay(1000);

col++;
if(col>=600)
col=0;
cleardevice();
}
}
its very good
nice I like this
madhy thank you
it is really helpful for me thanks