Circle movement in turbo c [Solved/Closed]

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


1 reply

#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();
}
}
36
Thank you

A few words of thanks would be greatly appreciated. Add comment

CCM 2942 users have said thank you to us this month

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