Results 1 to 5 of 5

Thread: Graphics.h

  1. #1

    Thread Starter
    Addicted Member kikelinus's Avatar
    Join Date
    Nov 2000
    Posts
    219

    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.

  2. #2
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    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

  3. #3

    Thread Starter
    Addicted Member kikelinus's Avatar
    Join Date
    Nov 2000
    Posts
    219
    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.

  4. #4

    Thread Starter
    Addicted Member kikelinus's Avatar
    Join Date
    Nov 2000
    Posts
    219
    Oh, sorry...I am using windows 98

  5. #5
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    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
  •  



Click Here to Expand Forum to Full Width