Programming Question where did graphics.h library go?

  • Thread starter Thread starter ex-orbinaut
  • Start date Start date
E

ex-orbinaut

Guest
Hi all, a question...

What happened to <graphics.h> library in VC++? Cannot seem to locate it on 2008 Express. Apart from using WINAPI, what are the options for getting the graphic device driver outputting standard lines and circles, and such, from a VC++ program?

Thanks in advance....
 
Hi all, a question...

What happened to <graphics.h> library in VC++? Cannot seem to locate it on 2008 Express. Apart from using WINAPI, what are the options for getting the graphic device driver outputting standard lines and circles, and such, from a VC++ program?

Thanks in advance....
Check out the Allegro library
 
Check out the Allegro library

That looks just like what I am after, thanks! Any recommendation on the most stable release, or is the latest WIP release version good enough?

-----------------------

Yep. Run a couple of quick tests with the primitives, off the latest release. Does the trick exactly. Well pleased, nice one. Thanks again!
 
Last edited by a moderator:
That looks just like what I am after, thanks! Any recommendation on the most stable release, or is the latest WIP release version good enough?

-----------------------

Yep. Run a couple of quick tests with the primitives, off the latest release. Does the trick exactly. Well pleased, nice one. Thanks again!
I've been using the latest stable release, since the latest WIP has a lot of changes coming down the pipe that I don't want to have to try to keep up with.

An added bonus, Allegro is cross-platform, so the same code that works on Windows will also work on Linux (have to compile for the target platform, but the code will be the same).
 
I've been using the latest stable release, since the latest WIP has a lot of changes coming down the pipe that I don't want to have to try to keep up with.

An added bonus, Allegro is cross-platform, so the same code that works on Windows will also work on Linux (have to compile for the target platform, but the code will be the same).

Hmmm. Maybe that is it, then. I was just coming back with an observation and read your post...

After the Cmake setup as per the docs, which was simple enough, the drawpixels example worked okay, but some of the elaborations of mine with a couple of the other draw functions failed to compile. I will do as you do in downloading the earlier, stable version. Looks like I am in for some healthy entertainment for an otherwise slack evening today!
 
Hmmm. Maybe that is it, then. I was just coming back with an observation and read your post...

After the Cmake setup as per the docs, which was simple enough, the drawpixels example worked okay, but some of the elaborations of mine with a couple of the other draw functions failed to compile. I will do as you do in downloading the earlier, stable version. Looks like I am in for some healthy entertainment for an otherwise slack evening today!
I've always stuck with Allegro, never had to bother with Windows API.
 
Back
Top