|
-
Jul 26th, 2002, 12:39 PM
#1
Thread Starter
Addicted Member
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.
-
Jul 26th, 2002, 04:55 PM
#2
Monday Morning Lunatic
If you don't have graphics.h then your compiler likely doesn't support it.
What OS/compiler are you using?
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Jul 26th, 2002, 06:22 PM
#3
Thread Starter
Addicted Member
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.
-
Jul 26th, 2002, 06:22 PM
#4
Thread Starter
Addicted Member
Oh, sorry...I am using windows 98
-
Jul 28th, 2002, 04:15 AM
#5
Monday Morning Lunatic
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.
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|