Mail Archives: djgpp/1994/12/04/22:57:48
This is my first post as I have only recently installed djgpp on my PC.
I have a couple of questions that I am sure are the cause of my own
errors so please be merciful. :,)
My first is with iostream.h When I try to compile the code below
I get the following error messages:
undefined reference to 'cout'
undefined reference to 'ostream::operator<<(char const *)'
I used gcc -d junk.cc to compile.
I have iostream.h in the /cplusinc directory
I really do not understand why it won't work. Any help is appreciated.
// test program....
#include <iostream.h>
main() {
cout << "hello world\n";
}
My second question is about the online help. I have downloaded the
djdoc and the txi .zip files and I cannot get the INFO.EXE to work
right. It runs and shows me the main index, but when I try access any of
modules it ralphs. I ran the file TESTIT.BAT and it told me that
the file LIBCREF.I was missing and it is. But I can't find it in any
of the .zip files from teh archive.
Please help a newbie! I'll buy you a beer if you're ever in Texas.
Thanks,
Steven
-----
Just shut your mouth how can you say, I go about things the wrong way
I am human and I need to be loved, just like everybody else does
The Smiths
- Raw text -