Graphics.h library problem
To understand this situation, I'll give a brief account of the history behind this problem:
Back in December, when I was taking Structured Programming (Pascal...), I was asked by the teacher to help another teacher create a program for his math class, bascially a game of Battleship or Rocket, to try to get the students to use distance formula and whatnot, with the Rocket being with three coordinates instead of two. I managed something working with Pascal before Christmas break, but now that I'm taking C++, I'd like to begin to re-design it with C++, where I could utilize a wider range of abilities... namely, using graphics.
I asked the teacher; he said others had attempted to locate and enable the graphics library in the past, and gave me a list of the working libraries. I posted in another forum for help, and allegro was suggested to solve it; in trying to figure out how to properly install it, I happened to stumble across the graphics.h library, which strangely wouldn't run. In the code, there was this statement:
So apparently, the lack of the __DPMI16__ file or the __DPMI32__ file must be what's disabling the usage of graphics. I tried to see how it would respond, were that code not in there; in only marking those three lines as comments, and the rest of the code left alone, it returned many errors, one which I can remember being that it didn't recognize the function far.
#if defined( _Windows ) && !defined (__DPMI16__) && !defined(__DPMI32__)
#error BGI graphics not supported under Windows
Anyone know what __DPMI16__ or __DPMI32__ are and where I could find them, or better yet how I could get them installed on the computer and where to install them?
If it helps any, here is the specifications of the programming computers I'd make the game on (minimal probability the program would be run on a computer with anything less):
Pentium 3 600 Mhz
motherboard : Intel VC820
graphic card: ATI Rage 3D pro agp2x