Help answer threads with 0 replies.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 04-13-2006, 11:08 AM   #1
LQ Newbie
Registered: Apr 2006
Location: Sweden
Distribution: Mandrake 10.1
Posts: 10

Rep: Reputation: 0
Where to find include files to C?


I am a beginner programming in C and use the compiler GCC.
My question is: Where do I find include files, eg timer.h, and
how do I know the latest version of the include file?
Old 04-13-2006, 11:30 AM   #2
Registered: Oct 2005
Location: Madison, Wisconsin
Distribution: RHEL 6
Posts: 422

Rep: Reputation: 30
Originally Posted by henrik9
Where do I find include files
PLease check this directory.
Old 04-13-2006, 11:41 AM   #3
Registered: Jun 2005
Location: Indiana, USA
Distribution: OpenBSD, Ubuntu
Posts: 892

Rep: Reputation: 43
Originally Posted by manishsingh4u
And, depending on how your system is set up: /usr/local/include /usr/X11R6/include. Also, what you're looking for might be in an installation-specific directory, e.g. /usr/local/Mesa/include.

As far as I know, header files typically don't have version numbers, so you only have to worry about big things like the difference between, for example, GTK and GTK2, which each have their own headers.
Old 04-13-2006, 12:17 PM   #4
Registered: Jul 2005
Location: Maine, USA
Distribution: OpenSUSE, Gentoo, Fedora, Ubuntu, Mandriva, others
Posts: 413

Rep: Reputation: 30
I believe that you can probably use your package management software to make sure you have the latest libraries.
Old 04-13-2006, 12:20 PM   #5
LQ Newbie
Registered: Apr 2006
Location: Sweden
Distribution: Mandrake 10.1
Posts: 10

Original Poster
Rep: Reputation: 0
I mean; how to find include files IF they are not on the computer?
Old 04-13-2006, 12:30 PM   #6
Senior Member
Registered: Mar 2005
Location: USA::Pennsylvania
Distribution: Slackware
Posts: 1,065

Rep: Reputation: 45
determine the name of the software that they belong to and then ask google, freshmeat, sourceforge, etc, etc


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel header (include) files - where do i find these walkerx Mandriva 2 04-17-2005 09:19 AM
cannot find mysql include files lsimon4180 Linux - Software 5 03-25-2005 03:41 PM
g++ V3.3.3 can't find cstdio include on FC2 tommyr Programming 0 06-16-2004 03:30 PM
Error when compiling 2.4.26(can't find the include files) iZvi Slackware 2 05-25-2004 06:27 AM
g++ does not find include files StressedLemming Linux - Newbie 2 11-30-2003 07:12 AM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 05:53 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration