Newsgroups: comp.lang.c Path: utzoo!henry From: henry@utzoo.uucp (Henry Spencer) Subject: Re: help with UNIX include files Message-ID: <1990Jan19.181859.24160@utzoo.uucp> Organization: U of Toronto Zoology References: <1990Jan16.202640.357@csusac.csus.edu> <4092@helios.TAMU.EDU> <602@sagpd1.UUCP> Date: Fri, 19 Jan 90 18:18:59 GMT In article <602@sagpd1.UUCP> jharkins@sagpd1.UUCP (Jim Harkins) writes: >Close, but this ain't horseshoes. If you use #include "foo.h" the compiler >looks for foo.h in the directory the source file is in, not neccesarily >the directory you are compiling from... Actually this is implementation-dependent, although most compilers do it as you describe. -- 1972: Saturn V #15 flight-ready| Henry Spencer at U of Toronto Zoology 1990: birds nesting in engines | uunet!attcan!utzoo!henry henry@zoo.toronto.edu