Mail Archives: djgpp/1997/09/05/00:19:02
Joel Rosenthal <ZZTiger AT mho DOT net> wrote:
> The answer is very simple:
> instead of #include <iostream.h>
> use this: #include "iostream.h"
> The quotes means it's in a nother directory.
A wrong answer is much worse than no answer at all. Please verify your answer
before posting. The poster's #include statement was correct, they just forgot
to link with the C++ and\or iostream libraries, like so:
gxx foo.cc -o foo.exe
gcc foo.cc -o foo.exe -liostr
--
[- firewind -]
[- email: firewind AT metroid DOT dyn DOT ml DOT org (home), firewind AT aurdev DOT com (work) -]
[- "You're just jealous because the voices talk to -me-." -]
- Raw text -