Solved

bgi graphics

Posted on 1998-11-01
3
471 Views
Last Modified: 2012-08-13
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
Comment
Question by:Surt
  • 2
3 Comments
 
LVL 10

Accepted Solution

by:
viktornet earned 100 total points
ID: 1254000
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
 
LVL 3

Expert Comment

by:arnond
ID: 1254001
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
 
LVL 10

Expert Comment

by:viktornet
ID: 1254002
Yup, that's what I said =)
0

Featured Post

Scale it in WD Gold

With up to ten times the workload capacity of desktop drives, WD Gold hard drives employ advanced technology to deliver among the best in reliability, capacity, power efficiency and performance.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Preface I don't like visual development tools that are supposed to write a program for me. Even if it is Xcode and I can use Interface Builder. Yes, it is a perfect tool and has helped me a lot, mainly, in the beginning, when my programs were small…
This tutorial is posted by Aaron Wojnowski, administrator at SDKExpert.net.  To view more iPhone tutorials, visit www.sdkexpert.net. This is a very simple tutorial on finding the user's current location easily. In this tutorial, you will learn ho…
The goal of this video is to provide viewers with basic examples to understand and use pointers in the C programming language.
Video by: Grant
The goal of this video is to provide viewers with basic examples to understand and use while-loops in the C programming language.

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now