Article View: gnu.gcc.help
Article #42463Need help with <include> files
From: Christian E. Brown
Date: Mon, 04 Dec 1995 00:00
Date: Mon, 04 Dec 1995 00:00
31 lines
1137 bytes
1137 bytes
Dear Group:
I tried to compile a g++ program last night (version 2.6.2) but I
got a compiler message stating that the file, iostream.h, was not found.
I'm running Linux version 1.2.13.
The file does exist in the directory, /usr/lib/g++-include, and I was
attempting to use the file in the following manner:
/* begin c++ program */
#include <iostrem.h>
int main()
{
cout "This is a test\n";
return (0);
}
/* end c++ program */
Can anyone tell me how to get the include directory into the path
that the compiler searches for *.h files?
Thanks in advance,
Christian Brown
christia@netcom.com
Technical Details
Message-ID:
<christiaDJ318B.Iuo@netcom.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,d8c3aea2715e7e66,start X-Google-Attributes: gid11318c,public From: christia@netcom.com (Christian E. Brown) Subject: Need help with <include> files Date: 1995/12/04 Message-ID: <christiaDJ318B.Iuo@netcom.com> X-Deja-AN: 120864077 sender: christia@netcom.netcom.com organization: NETCOM On-line Communication Services (408 261-4700 guest) newsgroups: gnu.gcc.help summary: Problem finding *.h files for g++