Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!cs.utexas.edu!helios!stat!john From: john@stat.tamu.edu (John S. Price) Newsgroups: comp.lang.c Subject: Re: help with UNIX include files Message-ID: <4092@helios.TAMU.EDU> Date: 16 Jan 90 22:45:35 GMT References: <1990Jan16.202640.357@csusac.csus.edu> Sender: usenet@helios.TAMU.EDU Reply-To: john@stat.tamu.edu (John S. Price) Distribution: usa Organization: Texas A&M University Lines: 20 In article <1990Jan16.202640.357@csusac.csus.edu> porterd@cssexb.csus.edu (darren porter) writes: > > I am trying to write some C programs on a UNIX machine running AT&T V/386 > release 3.2.2. My problem is that the cc compiler does not like anything > to do with my #include files. Do I need to compile these .h files? > I have found nothing in the manuals. Please reply... > >--- ucdavis!csusac!telco1!dporter If you use #include , cpp will look for this file in /usr/include (it will look for /usr/include/foo.h). If the include files aren't there, you must use #include "/path.../foo.h", or if it is in the directory you are compiling from, use #include "foo.h". This sounds like your problem to me. -------------------------------------------------------------------------- John Price | Morals define our path through life, john@stat.tamu.edu | And everyone's path is different... - Me --------------------------------------------------------------------------