Thread: graphics.h

  1. #1

    Question graphics.h

    On various sites on the net I have come accross sample source that is supposed to help one learn, and of course it is very helpful. What I want to ask you here is this. I recently have come accross some sample code that requires the graphics.h and though it states it in the header when I go to compile and run an error returns saying that this graphics.h is not there. Be that it may I can find no answers to my puzzle about this. I am self teaching in the C++ language so my only resource of learning really is online.

    Thank you for your time, I am sure this has an easy answer though and maybe in the future I will not post such a question that probably all know but myself.


  2. #2
    Fingerstyle Guitarist taylorguitarman's Avatar
    Join Date
    Aug 2001
    graphics.h is not a standard library.
    Borland typically includes this library but I'm not sure what other compilers do. MSVC does not.
    If you have a compiler with the library and you're still having problems then post what errors you're getting.
    If a tree falls in the forest, and no one is around to see it, do the other trees make fun of it?

  3. #3

    Smile re: the graphics.h

    Ok, the compiler I am using is Dev-C++ 4 and if it is an added thing for the writer then this makes sense to me. I also have Borland C++ Builder, though I have not learned to much in this as of this time and have concentrated on the easier (?) compiler instead.

    The compiler errors are as follows:

    graphics.h: No such file or directory
    mouse.c: No such file or directory

    I am assuming now that the mouse.c is also not a standard library as well.

    When I get home I will open Builder and see if I can get it to compile in that.

    Thank you for answer.


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 and LCC
    By darcome in forum Game Programming
    Replies: 0
    Last Post: 06-14-2002, 12:54 PM
  4. graphics.h
    By scott27349 in forum Game Programming
    Replies: 1
    Last Post: 06-02-2002, 08:24 AM
  5. graphics.h
    By AM in forum C Programming
    Replies: 2
    Last Post: 01-14-2002, 01:11 PM