probably because BGI requires a 32-bit compiler, which TurboC is not. Upgrade to one of the free compilers mentioned in that link.
Ancient Dragon
Retired & Loving It
30,049 posts since Aug 2005
Reputation Points: 5,662
Solved Threads: 2,343
John A
Vampirical Lurker
7,630 posts since Apr 2006
Reputation Points: 2,240
Solved Threads: 339
probably because BGI requires a 32-bit compiler, which TurboC is not. Upgrade to one of the free compilers mentioned in that link.
Just the opposite. I was using BGI back with Turbo C++ 1.
Download from Borland: Turbo C++ version 1.01
Turbo C++ version 2.01
Other old Borland stuff can be found here .
WaltP
Posting Sage w/ dash of thyme
10,506 posts since May 2006
Reputation Points: 3,348
Solved Threads: 944
Instead of using Libraray which draws out jagged circles and which are non standard, better start using OpenGL since it has the same learning curve as that of your BGI (atleast for the basic things) and is much more useful and much more fun.
For eg. if you have to draw out a circle using the circle equation, you could use something like this:
while (some_control_loop) {
// calculate the values of x and y using the std eqs.
glBegin(GL_LINES);
// All lines lie in the xy plane.
z = 0.0f;
for(angle = 0.0f; angle <= GL_PI; angle += (GL_PI/20.0f))
{
// Top half of the circle
x = 50.0f*sin(angle);
y = 50.0f*cos(angle);
glVertex3f(x, y, z); // First endpoint of line
// Bottom half of the circle
x = 50.0f*sin(angle + GL_PI);
y = 50.0f*cos(angle + GL_PI);
glVertex3f(x, y, z); // Second endpoint of line
}
// Done drawing points
glEnd();
Well this is a simple eg which shows how u can draw a circle.
Hope it helped, bye.
~s.o.s~
Failure as a human
11,938 posts since Jun 2006
Reputation Points: 3,281
Solved Threads: 734