-
Graphics.h
Could anyone please send me (or post here) a copy of graphics.h. I have searched for it tons of times, but haven't found the one I need.
I'm looking for the one that has the following functions:
InitGraphics()
MovePen(x, y)
DrawLine(x, y)
DrawArc(r, start, sweep)
GetWindowWidth()
GetWindowHeight()
GetCurrentX()
GetCurrentY()
Thanks.
-
If you don't have graphics.h then your compiler likely doesn't support it.
What OS/compiler are you using?
-
I have tried downloading lots of compilers. Currently, I use the "linux emulator": cygwin (gcc compilet), but I also have installed Turbo C (downloaded from the borland museum), and C++ Builder also from Borland.
By the way, I program in C.
Is graphics.h supported by any of these compilers? If not, could you tell me which one is?
Thanks.
-
Oh, sorry...I am using windows 98
-
Turbo C might have had it...
...although if you have C++ builder, just use that and do your graphics with either the Windows API, DirectX, or OpenGL.
It's far easier, and far more likely to work on an NT-based OS.