To run C++ project is Graphic cord must

Guys,

shed some light on the above heading.

suggest me, as we have tried running .cpp project using windows console but shows graphics.h BGI graphics not supported under windows..


Do we need to install graphics cord for the same to execute on windows or any version change is required ...

Please mail me on yogicoherent@gmail.com

Thanks and regards,

Yogi
Whats a graphics cord at first? Do you mean a Graphics Card? or is this a library for Linux or Mac (I'm kinda fuzzy on non-Windows Operating Systems)
If you are running a C++ project that requires graphics (bmp, jpeg, png, whatever file format you prefer) then yes a graphics card is required. If you are just doing terminal apps, then no, you really don't need a great graphics card, but you have to have one no matter what as you wouldn't be able to see the screen output.

You need to find out what all libraries that project used because if graphics.h isn't being found then it most likely means you haven't got the library or API installed that is needed to compile the project. I don't think it has anything to do with the graphics card though and it honestly sounds like it is more related to the problem of not having the proper libraries and APIs for the projects.
BGI Graphics is Borland's old, 16-bit graphics library. It was designed to run with DOS. It doesn't exist in the 32-bit world.

The last C++ environment which supports BGI is Borland C++ 5.02 (1997), ...

http://en.wikipedia.org/wiki/Borland_Graphics_Interface

If you're keen enough, you could prob. run Turbo Pascal 5.5 under DOSBox
http://fuyichin.blogspot.be/2008/04/turbo-pascal-on-dosbox.html
http://www.dosbox.com/

EDIT I meant Turbo C++ and DOSBox
http://offclassroom.com/off-classroom/windows/81-how-to-install-turbo-c-on-windows-7-64bit

(I recently installed TurboPascal to look at some old, old code of mine)

Or check out BOSS - A re-implementation of Borland's Graphics Library (BGI) over SDL
http://www.codedread.com/code.php#BOSS
Last edited on
andywestken wrote:
BGI Graphics is Borland's old, 16-bit graphics library. It was designed to run with DOS. It doesn't exist in the 32-bit world.

Emulator then :). Didn't mess with seeing what BGI was, just figured if he was asking about graphics it was something wrong with the APIs and not the card.
MildredTullis wrote:
C++ ia a language.

It is?! Wow, didn't know that.
Jacobce wrote:
Using C++ project that requires graphics (bmp, jpeg, png,)

*facepalm*
Topic archived. No new replies allowed.