Solved

BGI graphics not supported in Windows.

Posted on 2000-02-23
2
464 Views
Last Modified: 2008-03-04
Hello. I am using Borland Turbo C++ 4.5. (Yes, it's rather old.) My books must be even older, because I entered this code with function calls like _setvideomode( ) and _getvideoconfig( ). Stuff like that.

But when I compile the program, I get the message "BGI graphics not supported in Windows." Well, what are BGI graphics? Why aren't they supported in Windows? How do I get around this? Should I get MS Visual C++ instead? Or should I be developing in DOS using Borland C / C++ 3.1?

Thank you one and all!
Rich
0
Comment
Question by:slipster70
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 5

Accepted Solution

by:
laeuchli earned 50 total points
ID: 2552696
You can't use BGI in windows, because windows offers GDI, and I suspect the two conflict. Get some new books and buy VC++.
0
 
LVL 14

Expert Comment

by:AlexVirochovsky
ID: 2553262
Or make you project in DOS(with BC 3.1)
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!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
PDF library for Delphi 2 147
C++ question 3 80
Path to  STL Map header file 1 88
Embarcadero C++ builder XE10.1 Berlin TRegistry declaration 1 57
Article by: SunnyDark
This article's goal is to present you with an easy to use XML wrapper for C++ and also present some interesting techniques that you might use with MS C++. The reason I built this class is to ease the pain of using XML files with C++, since there is…
Introduction This article is a continuation of the C/C++ Visual Studio Express debugger series. Part 1 provided a quick start guide in using the debugger. Part 2 focused on additional topics in breakpoints. As your assignments become a little more …
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

740 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