Solved

BGI graphics not supported in Windows.

Posted on 2000-02-23
2
465 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction This article is the first in a series of articles about the C/C++ Visual Studio Express debugger.  It provides a quick start guide in using the debugger. Part 2 focuses on additional topics in breakpoints.  Lastly, Part 3 focuses on th…
What is C++ STL?: STL stands for Standard Template Library and is a part of standard C++ libraries. It contains many useful data structures (containers) and algorithms, which can spare you a lot of the time. Today we will look at the STL Vector. …
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…

707 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