Share your knowledge at the LQ Wiki.
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 07-03-2004, 07:43 PM   #1
Registered: Mar 2002
Location: /dev/null
Distribution: Ubuntu - Fedora - or whatever works or gets handed to me.
Posts: 119

Rep: Reputation: 15
where are header files located?

I am gonna start learning by myself with a book some bash and c and there's a utils.h file that I'm going to use often so my questions is damn stupid:
where do I put it and does the location change with each distro?

I rather spend 5 minutes of ignorance and not a life as a jackass...
Old 07-03-2004, 11:00 PM   #2
Registered: Aug 2003
Location: Canada
Distribution: Slackware, debian
Posts: 76

Rep: Reputation: 15

Or atleast on my system.
Old 07-04-2004, 04:12 AM   #3
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 677Reputation: 677Reputation: 677Reputation: 677Reputation: 677Reputation: 677
If this is a header file you create yourself, keep it with the source files and include it like this:
#include "utils.h"


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
Where is kernel header files located? Oh Cisco Debian 1 10-22-2004 07:11 AM
C Header Files. Where are they located?? RoaCh Of DisCor Linux - Software 1 08-09-2004 01:16 PM
c header files in linux in place of header files in windows? harun_acs Programming 1 03-17-2004 03:24 AM
Where are the standard header files located? CodeWarrior Programming 3 12-25-2003 11:33 PM
where are the various log files located? pdmackenzie Linux - Newbie 1 09-15-2003 06:31 PM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 01:11 PM.

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