Solved

BGI graphics not supported in Windows.

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

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…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

758 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now