Xref: news2.mv.net comp.os.msdos.djgpp:662 From: jtahardi AT cabell DOT vcu DOT edu (Jonas Tahardi) Newsgroups: comp.os.msdos.djgpp Subject: Help: cin /cout? Date: 30 Jan 1996 19:57:14 -0500 Organization: Virginia Commonwealth University Lines: 50 Distribution: world Message-ID: <4emepa$crl@cabell.vcu.edu> NNTP-Posting-Host: cabell.vcu.edu To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Help!! :) I think I am missing something here.... I am new to djgpp (right know I have ez-djgpp) and try to compile a c++ program: #include main () { cout << "Hello\n"; } when i did gpp hello.cpp it gives this error mesg: Reading specs from c:/djgpp/lib\specs gcc version 2.6.3 c:/djgpp/bin\cpp.exe -lang-c++ -v -undef -D__GNUC__=2 -D__GNUG__=2 -D__cplusp GNU CPP version 2.6.3 (80386, BSD syntax) #include "..." search starts here: #include <...> search starts here: c:/djgpp/cplusinc c:/djgpp/include /usr/local/lib/g++-include /usr/local/include /usr/local/go32/include /usr/local/lib/gcc-lib/go32/2.6.1/include /usr/include End of search list. c:/djgpp/bin\cc1plus.exe c:/djgpp/tmp\cc016036 -quiet -dumpbase 1.cc -version GNU C++ version 2.6.0 (80386, BSD syntax) compiled by GNU C version 2.6.0. c:/djgpp/bin\as.exe -o c:/djgpp/tmp\ccb16036 c:/djgpp/tmp\cca16036 c:/djgpp/bin\ld.exe c:/djgpp/lib\crt0.o -Lc:/djgpp/lib c:/djgpp tmp\ccb16036 1.cc(.text+0x20): undefined reference to `cout' 1.cc(.text+0x25): undefined reference to `ostream::operator<<(char const *)' now... what did I do wrong? thanks, jonas jtahardi AT cabell DOT vcu DOT edu