Circle movement in turbo c [Closed]

Posts
1
Registration date
Monday June 14, 2010
Last seen
June 14, 2010
- - 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 

1 reply

Best answer
33
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();
}
}

Say "Thank you" 33

Glad we were able to help! Love us? Write us a review! Rate CCM

CCM has helped 2678 users this month

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