Solved

BGI graphics not supported in Windows.

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
best sources to up-to-date in C++? 8 91
Best book to learn C++ 4 84
c++ syntax question 9 52
C++ help/ Toy problem 19 30
Errors will happen. It is a fact of life for the programmer. How and when errors are detected have a great impact on quality and cost of a product. It is better to detect errors at compile time, when possible and practical. Errors that make their wa…
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 viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

837 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