| | |
can't use graphics.h! i need a compiler that have a BGI!
Please support our C++ advertiser: Intel Parallel Studio Home
![]() |
can somone help me! where can i find a turbo C compiler that has a BGI!
Coz i have a program that have some graphics but i can't run it through my compiler coz it doesn't have a BGI! is there someone who knows where i can find a complete compiler of turbo C with BGI!(borland graphic interface).
I had been searching on the net for 6 hrs. but i still can't find a complete compiler!
Coz i have a program that have some graphics but i can't run it through my compiler coz it doesn't have a BGI! is there someone who knows where i can find a complete compiler of turbo C with BGI!(borland graphic interface).
I had been searching on the net for 6 hrs. but i still can't find a complete compiler!
probably because BGI requires a 32-bit compiler, which TurboC is not. Upgrade to one of the free compilers mentioned in that link.
Last edited by Ancient Dragon; Sep 5th, 2006 at 10:26 pm.
•
•
•
•
where can i find a turbo C compiler
"Technological progress is like an axe in the hands of a pathological criminal."
All my posts may be freely redistributed under the terms of the MIT license.
All my posts may be freely redistributed under the terms of the MIT license.
•
•
•
•
probably because BGI requires a 32-bit compiler, which TurboC is not. Upgrade to one of the free compilers mentioned in that link.
Download from Borland:
Turbo C++ version 1.01
Turbo C++ version 2.01
Other old Borland stuff can be found here.
The 3 Laws of the Procrastination Society:
1) Never do today that which can be put off until tomorrow
2) Tomorrow never comes
1) Never do today that which can be put off until tomorrow
2) Tomorrow never comes
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:
Well this is a simple eg which shows how u can draw a circle.
Hope it helped, bye.
For eg. if you have to draw out a circle using the circle equation, you could use something like this:
C++ Syntax (Toggle Plain Text)
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.
I don't accept change; I don't deserve to live.
![]() |
Similar Threads
- could not load tlink.exe (C++)
- graphics.h with Borland C++ compiler (C++)
- 2d-c++ graphics guide PLZ! (C++)
- DOS Graphics (Game Development)
- need help wit proj (C++)
- Bgi Graphics Don't Work On Windows... Why??? (Game Development)
Other Threads in the C++ Forum
- Previous Thread: Get MAC ADDRESS from VC++ or c language
- Next Thread: help with extra credit lab
| Thread Tools | Search this Thread |
api array arrays based beginner binary c++ c/c++ calculator char class classes code compile compiler console conversion count delete deploy desktop directshow dll download dynamic dynamiccharacterarray encryption error file forms fstream function functions game getline givemetehcodez google graph gui homeworkhelp homeworkhelper iamthwee ifstream input int integer java lib linkedlist linker linux list loop looping loops map math matrix memory news number output parameter pointer problem program programming project proxy python random read recursion recursive reference return rpg string strings struct temperature template templates test text text-file tree unix url variable vector video visual visualstudio win32 windows winsock word wordfrequency wxwidgets






