LinuxQuestions.org
Help answer threads with 0 replies.
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 07-03-2004, 06:43 PM   #1
Anubis
Member
 
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?
thanks

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

Rep: Reputation: 15
usr/include

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

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


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


All times are GMT -5. The time now is 09:37 AM.

Main Menu
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