[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 479
  • Last Modified:

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.
0
Surt
Asked:
Surt
  • 2
1 Solution
 
viktornetCommented:
It means that you cannot use it under windows.... YOu need to run DOS and run Borland C++ from there, and then you'll be able to use it...

Cheers,
Viktor
0
 
arnondCommented:
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.

0
 
viktornetCommented:
Yup, that's what I said =)
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now