From: "Nicholas Law" Newsgroups: comp.os.msdos.djgpp Subject: #include "....." doesn't work Date: 26 May 1998 16:26:24 GMT Organization: UUNET Lines: 32 Message-ID: <01bd88c2$d06736a0$525a95c1@nicland> NNTP-Posting-Host: usero828.uk.uudial.com To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Hi all! Recently I split up a fairly large program into different modules, all with the .cpp extension, and put them in a directory like this: c:\djgpp\planet\modules. I made them all part of the same project in RHIDE V1.4. When I try to get the modules to access header files in _any_ directory the compiler produces the error "no such file or directory (ENOENT)". The standard header files work fine, it's just my own .h files that it can't find... I access my header files like this: #include "c:\djcpp\planet\funcs\base.h" This only happened when I split my program up: before it worked fine accessing the header files in the above way from a single .cpp file. Has anyone got any ideas? Nicholas Law Web: http://dialspace.dial.pipex.com/town/road/xpa18/index.shtml (A 3D Starmap) To reply, please remove fake_ from the front of the return address -- Nicholas Law Web: http://dialspace.dial.pipex.com/town/road/xpa18/index.shtml To reply, please remove fake_ from the front of the return address