Thread: where is graphics.h?

  1. #1
    Registered User
    Join Date
    Aug 2005
    Posts
    51

    where is graphics.h?

    I have noticed that some source code contains graphics.h. I use DEV C++. What compiler would I need tyat uses this header as mine doesnt have it?

  2. #2
    Registered User
    Join Date
    Jan 2002
    Location
    Vancouver
    Posts
    2,212
    graphics.h is a nonstandard library implemented in some c compilers such as Turbo C. Dev-C++ supports SDL and Allegro, both of which are fairly easy to use and can be added as a devpak using the update system, you can then start a new project as an SDL or Allegro project and use them if you want to use 2d graphics.

  3. #3
    Registered User
    Join Date
    Jul 2005
    Posts
    5

    Smile

    Quote Originally Posted by Brian
    Dev-C++ supports SDL and Allegro.
    It also supports OpenGL. Since there's an option to create an OGL project right from the start-up menu, you don't need a devpack for that... just a good book

  4. #4
    Registered User
    Join Date
    Jan 2002
    Location
    Vancouver
    Posts
    2,212
    I'm not going to recommend OpenGL to a complete newbie.

  5. #5
    Registered User
    Join Date
    Aug 2005
    Posts
    51
    Thanks both of you.

  6. #6
    ---
    Join Date
    May 2004
    Posts
    1,379
    where is graphics.h?
    It is in the "DOS Graveyard"

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. graphics.h not found?
    By Dauthi in forum C++ Programming
    Replies: 8
    Last Post: 05-17-2003, 08:47 PM
  2. Does graphics.h work with windows??
    By sundeeptuteja in forum C++ Programming
    Replies: 6
    Last Post: 09-13-2002, 09:08 AM
  3. graphics.h
    By scott27349 in forum Game Programming
    Replies: 1
    Last Post: 06-02-2002, 08:24 AM
  4. graphics.h
    By Seti in forum C++ Programming
    Replies: 2
    Last Post: 02-28-2002, 04:11 PM
  5. graphics.h
    By AM in forum C Programming
    Replies: 2
    Last Post: 01-14-2002, 01:11 PM