Mail Archives: djgpp/1997/11/02/09:34:36
On Sun, 2 Nov 1997, Jos van Riswick wrote:
> I don't understand the last errormessages "undefined ref.
> to 'cout'"??? This is c++ isn't it? Other c++
> constructions like: for ( int a=1; a<2; a++ ) etc. work
> fine. I tried already using #include <stream.h> in stead
> of iostream.h. Anybody know what I do wrong???
The FAQ knows, and you should read it. In section 8.7 it explains why
does this happen, and tells you to use gxx instead of gcc to link C++
programs.
The latest version of the FAQ is available as v2/faq210b.zip from the
same place you get DJGPP.
- Raw text -