Solved

bgi graphics

Posted on 1998-11-01
3
475 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

Technology Partners: 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!

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 is a short and sweet, but (hopefully) to the point article. There seems to be some fundamental misunderstanding about the function prototype for the "main" function in C and C++, more specifically what type this function should return. I see so…
The goal of this video is to provide viewers with basic examples to understand how to use strings and some functions related to them in the C programming language.
The goal of this video is to provide viewers with basic examples to understand and use conditional statements in the C programming language.

735 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