Mail Archives: djgpp/1998/05/26/18:31:12
| From: | "Martin Ambuhl" <mambuhl AT tiac DOT net>
|
| Newsgroups: | comp.os.msdos.djgpp
|
| Subject: | Re: #include "....." doesn't work
|
| Date: | Tue, 26 May 1998 18:20:03 -0400
|
| Organization: | Nocturnal Aviation
|
| Lines: | 42
|
| Message-ID: | <6kfim5$ht7@news-central.tiac.net>
|
| References: | <01bd88c2$d06736a0$525a95c1 AT nicland>
|
| NNTP-Posting-Host: | p45.tc1.newyo.ny.tiac.com
|
| To: | djgpp AT delorie DOT com
|
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
Nicholas Law wrote in message <01bd88c2$d06736a0$525a95c1 AT nicland>...
: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"
=========
change this to c:/djgpp/planet/funcs/base.h
hint:
\d, \p are not recognized escape sequences
\f is a formfeed, \b is a backspace.
=========
:
: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
- Raw text -