-
A New Twister In Town!
frankly speaking, i have learnt a lot in C through this site because of all of you.i have a small clarification
look at my code below
Code:
#include<stdio.h>
#include<conio.h>
#include<grapics.h>
void main()
{
int gd=DETECT,gm;
initgraph(&gd,&gm,"d:\\tc\\bgi");
circle(40,100,10);
getche();
closegraph();
restorecrtmode();
}
this program draws a circle on the screen
how can i make the circle move.is there any inbuilt function that can make animations.if so, please give an example to show its usage
-
Nobody will pay any attention to void main programmers.
Furthermore, get a better compiler - no-one is interested in messing about with ancient borland 16-bit graphics anymore.
See other posts for recommendations (namely dev-c++)
-
Salem, i told him the same on another thread. He has an excuse i guess. He doesnt have his own PC so he uses the ones at his school which have TurboC installed. So he can only use that compiler.
-
Time to enlighten the school to let them know that the world has moved on.
Otherwise the school will start to lose "reputation" if they keep producing students which are only familiar with fossils (and basically having to retrain them in the new ways)