0

Bgi error

BGI Error: Graphics not initialized (use 'initgraph' ) What is this can you help with this?

8th Dec 2017, 5:18 PM
Paramash
Paramash - avatar
7 ответов
+ 6
I was trying to imagine 14 years ago, given how drastically things have changed (on the surface at least) and how much of the older knowledge still hangs around, like the problem described here, which actually is relevant today in 2+ monitor setups: Troubleshooting https://explainxkcd.com/1479/ When underlying protocols are just abstracted (and knowing what's happening is just a matter of pulling back a curtain to just some older code) It's like...when do you know you can finally put an old trick away? [I agree on the video stuff by the way, I just know there's still some old equipment / feel a little for fewer choices / or someone's digging into this to learn hardware]. On looking back: I once answered a network question nobody could answer (except "maybe arbitrary") by recreating lost knowledge. What I found was that the 'arbitrary' decision was anything but; it very likely had to be done exactly that way... and I explained how, and got more upvotes than expected. I guess... If nobody knows where we're coming from [and yet everyone does something--why?--how do we know it's safe to change it?*], some of us have to retrace. * In this case, no, not safe to change...better to evolve to not need it instead.
9th Dec 2017, 1:57 PM
Kirk Schafer
Kirk Schafer - avatar
+ 4
Ancient*, maybe lucky these docs are even online: https://www.cs.colorado.edu/~main/bgi/doc/initgraph.html "The BGI graphics functions may also be used with Windows programs created by the Borland 5.0 compiler, the free GNU C++ compiler, and possibly other compilers." https://www.cs.colorado.edu/~main/bgi/doc/ * August 2004, these
9th Dec 2017, 2:39 AM
Kirk Schafer
Kirk Schafer - avatar
+ 4
Funny how much content there is here before the OP returns :) I got to wondering about old knowledge collections for cases like these, + I wonder if DOSbox works for testing old codes... Note, I think Windows 7 (Vista?) removed the 16-bit subsystem. Don't recall offhand.
10th Dec 2017, 1:36 AM
Kirk Schafer
Kirk Schafer - avatar