Mail Archives: djgpp/1996/01/16/12:56:30
Errors-To: postmaster AT ns1
From: gehrke AT en DOT ecn DOT purdue DOT edu (Kevin Gehrke)
Date: 15 Jan 1996 13:11:26 GMT
I am new to this djgpp thing and have a stupid question. My cpp programs
are in their own directory. The include statements contain iostream.h in
them. When I compile it says it can't find iostream.h. It is in a directory
c:\djgpp\cplusinc . Do I need to put the whole path of the file iostream.h in
the include statement or can I just make the directory with all the .h files
in it part of my path? Thanks,
The default include path for C++ headers should be in the DJGPP.ENV file. It
may not be correct. Manually you could add -Ic:\djgpp\cplusinc to the command
line preceding the source files. Get the FAQ file (faq102.zip) this is dealt
with there.
--
Art S. Kagel, kagel AT quasar DOT bloomberg DOT com
A proverb is no proverb to you 'till life has illustrated it. -- John Keats
- Raw text -