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:  arun
- May 11, 2018 at 05:12 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 

12 replies

Best answer
32
Thank you
#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();
}
}

Thank you, madhu 32

Something to say? Add comment

CCM has helped 1936 users this month

nice I like this
madhy thank you
it is really helpful for me thanks