Link to home
Start Free TrialLog in
Avatar of Surt
Surt

asked on

bgi graphics

Using Borland C++ version 4.02.
Trying to compile a C program that uses the graphics.h library. Receive this error:
Fatal..\BC4\INCLUDE\GRAPHICS.H 19:Error directive: BGI graphics not supported under Windows.

When i search the help file it says I can de-select the BGI
option as long as I add the name of the BGI libary(GRAPHICS.h) to the project list.
This is just a single C program not in any project.
ASKER CERTIFIED SOLUTION
Avatar of viktornet
viktornet
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of arnond
arnond

BGI graphics are used for DOS application (an older system, a more recent one is VESA). you need to work in a DOS enviroment in order to use the BGI library.
open a DOS box or start your computer in DOS mode.

Yup, that's what I said =)