Solved

bgi graphics

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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Have you thought about creating an iPhone application (app), but didn't even know where to get started? Here's how: ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ Important pre-programming comments: I’ve never tri…
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…
The goal of this video is to provide viewers with basic examples to understand and use pointers in the C programming language.
The goal of this video is to provide viewers with basic examples to understand and use structures in the C programming language.

776 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