Mail Archives: djgpp/1999/09/09/09:45:08
On Wed, 8 Sep 1999, Josh Reed wrote:
> Thank you. I downloaded version 2.95 but am having trouble getting it to
> compile a simple c++ program. The program includes a cout << "Something
> here"; and when I compile it, it says something along the line of invalid
> reference to cout. I included the iostream.h header file and when I used
> the -liostream switch, it gives me a ld.exe: iostream not found.
>
> I appreciate ny help you can give me.
> Josh
>
there is no libiostream.a already for a long time. Use -lstdcxx instead.
Cannot say anything about error message from C++ compiler as there is not
enough information. As far as I understood this was fixed by
#include <iostream.h>
Andris
- Raw text -