LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
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.

Notices



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

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


Hi,

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?
/Henrik
 
Old 04-13-2006, 11:30 AM   #2
manishsingh4u
Member
 
Registered: Oct 2005
Location: Pune, India
Distribution: OpenSUSE 11.0
Posts: 422

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

Rep: Reputation: 41
Quote:
Originally Posted by manishsingh4u
/usr/include
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
pdeman2
Member
 
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
henrik9
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?
/Henrik
 
Old 04-13-2006, 12:30 PM   #6
xhi
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
 
  


Reply


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


All times are GMT -5. The time now is 06:43 PM.

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