Jump to content
  • Advertisement
Sign in to follow this  
1stMan

Missing an include file

This topic is 4817 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi, Thanks for fixing my last poblem so fast everyone. Now then, a problem I'm having now is that an include file is missing from a program I am trying to run. At the top of the program it includes <graphics.h> but its not actually included in the project. The website I got it from doesn't seem to have it. Is it a standard file I can get from somewhere or is it user created. I know it has something to do with the <> or "" but I'm not sure which one is which. Thanks.

Share this post


Link to post
Share on other sites
Advertisement
Well the difference between sharp brackets and double quotes is that a double-quoted include will first be sought in the current (project) directory, while a bracketed include refers to a standard header, and will be sought in the compiler's include directories.

The file graphics.h is probably used for many things, but I remember it was a MS specific standard include file in old MS VC editions. So if someone should refer to graphics.h with brackets, it probably indicates that file.

Greetz,

Illco

Share this post


Link to post
Share on other sites
Well its defintely not a standard file it could be for some library or something.

Usually when this happens I search google for the file specified. I then look to see what functions are called from the graphics.h file in the code an compare and contrast to see if any of the functions in the .h file match up with the code, if so I try and compile with it.

It can be rather aggravating if they don't include something that tells you about this.

Share this post


Link to post
Share on other sites
What compiler do you use? <graphics.h> is a header for Borland's BGI graphics lib for DOS, so there's a chance that you are missing the whole library.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!