| delorie.com/archives/browse.cgi | search |
| From: | "ZAMP" <Polacek AT 98 DOT gyarab DOT cz> |
| To: | djgpp AT delorie DOT com |
| Date: | Tue, 18 May 1999 11:29:28 +0100 |
| Subject: | problem with c++ libraries |
| X-Confirm-Reading-To: | "ZAMP" <Polacek AT 98 DOT gyarab DOT cz> |
| X-pmrqc: | 1 |
| X-mailer: | Pegasus Mail v3.41 (NDS, preview) |
| Message-ID: | <177DCE1F46@gyarab.cz> |
| Reply-To: | djgpp AT delorie DOT com |
Dear friends !
I am applying too you for help with following probem.
During compilation a simple program with coompiler "gcc.exe" (ver.
2.1)
#include <iostream.h>
void main()
{
cout << "Hello world !\n";
}
I get an error message:
c:/djgpp/tmp\cccyq51k(.text+0x19):hello.cpp: undefined reference to
'cout'
c:/djgpp/tmp\cccyq51k(.text+0x19):hello.cpp: undefined reference to
'ostream::op
erator<<(char const *)'
I would appreciate your advice how to solve this problem. Please
contact
me as soon as possible at polacek DOT 98 AT gyarab DOT cz
With best regards
Ondrej Polacek
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |