Mail Archives: djgpp/1999/11/17/04:03:27
On Tue, 16 Nov 1999 DrkDrgn5 AT aol DOT com wrote:
> Some files from gpp2952b extreacted into lang/cxx so I
> copied the headers and put them into the include dirrector
This is your problem: you shouldn't have copied those files. They are
*supposed* to be in the lang/cxx directory: the C++ compiler looks for
them there.
> I wrote a quick and simple program:
>
> #include <iostream.h>
>
> main{
> cout<<"Hello world";
> }
>
> and I got hundreds of errors from streambuf.h and iostream.h. Where
> did I go wrong?
Your program should have .cc or .cpp extension. If that doesn't help,
see section 8.2 of the FAQ. If that doesn't help either, add -v to
the compiler switches and post here everything it prints. (Section
6.14 of the FAQ explains how to redirect compiler messages to a file,
but you shouldn't need that with RHIDE.)
- Raw text -