From: Tomasz Ostrowski Newsgroups: comp.os.msdos.djgpp Subject: cout problem Date: Thu, 22 Jan 1998 10:10:26 +0100 Organization: ICM's news server Lines: 137 Message-ID: NNTP-Posting-Host: zodiac2.mimuw.edu.pl Mime-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="1368657935-595516566-885460164=:3240" To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. Send mail to mime AT docserver DOT cac DOT washington DOT edu for more info. --1368657935-595516566-885460164=:3240 Content-Type: TEXT/PLAIN; charset=US-ASCII I'm trying to compile file tmp.cpp: #include int main() { cout<<"Hello world!"; } but compiler reports errors: c:/jezyki/djgpp/tmp\ccdaaaaa(.text+0x1e):tmp.cc: undefined reference to `cout' c:/jezyki/djgpp/tmp\ccdaaaaa(.text+0x23):tmp.cc: undefined reference to `ostream ::operator<<(char const *)' I have installed files from simtelnet mirror in Warsaw (of course with directory structure): DJDEV201 ZIP TXI390B ZIP GCC2721B ZIP RHIDE14B ZIP BNU27B ZIP GPP2721B ZIP CSDPMI3B ZIP LGP271B ZIP FAQ210B ZIP I attach bug report from rhide. Could somebody help me to compile that file? PS. Sorry for mu english. I'm from Poland. --1368657935-595516566-885460164=:3240 Content-Type: TEXT/PLAIN; charset=US-ASCII; name="BUG.TXT" Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: VGhpcyBpcyBhIGJ1ZyByZXBvcnQgZm9yIFJISURFIFZlcnNpb24gMS40IChT ZXAgMzAgMTk5NyAyMzowNjo1OSkNCkkgYW0gcnVubmluZyBNUy1ET1MgNy4w DQoNCkltcG9ydGFudCBlbnZpcm9ubWVudCB2YXJpYWJsZXM6DQpQQVRIPUM6 XFdJTkRPV1M7QzpcV0lORE9XU1xDT01NQU5EO0M6XFdJTkRPV1NcQ09NTUFO RDtDOlxPTERET1M7QzpcVE9PTFM7QzpcQVJDSDtDOlxKRVp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