From: "Ole Laursen" Newsgroups: comp.os.msdos.djgpp References: <01be7aa0$6aa7f220$80e964c3 AT default> Subject: Re: undef. references... X-Newsreader: Microsoft Outlook Express 4.72.2106.4 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 Message-ID: Date: Tue, 30 Mar 1999 21:52:08 +0200 NNTP-Posting-Host: 195.24.5.2 X-Complaints-To: news-abuse AT image DOT dk X-Trace: news020.image.dk 922823470 195.24.5.2 (Tue, 30 Mar 1999 21:51:10 MET DST) NNTP-Posting-Date: Tue, 30 Mar 1999 21:51:10 MET DST Lines: 19 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com >I get (for me) strange errors when executing a program: >undefined reference to `operator>>(istream &, String &)' >undefined reference to `operator <(String const &, String const &)' >undefined reference to `String::~String (void)' Do you by 'executing' mean compiling? If so, have you remembered to #include and linked in the standard c++ library (libstdcx[x])? BTW *please* don't send in html-format, it's really annoying to answer to. Ole Laursen - Aalborg, Denmark - ole_laursen AT hardworking DOT dk Two bugs, or not two bugs - that's debugging!