From: Philip Garrett Newsgroups: comp.os.msdos.djgpp Subject: Re: cout problem Date: Wed, 28 Jan 1998 05:46:33 -0500 Organization: All USENET -- http://www.Supernews.com Lines: 36 Message-ID: <34CF0C88.22CB07BD@dalton.net> References: <199801230001 DOT QAA22980 AT adit DOT ap DOT net> NNTP-Posting-Host: 11651 AT 207 DOT 87 DOT 226 DOT 90 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Try renaming the file tmp.cc. Philip Garrett Nate Eldredge wrote: > At 10:10 1/22/1998 +0100, Tomasz Ostrowski wrote: > >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 *)' > Use the `gxx' command to link, instead of `gcc'. Had you read the README.1ST > file, you would know this. > [snipped] > >My problem is the following: > >============================ > > > > > >Rhide crashes. > Huh? Is this another problem, or what? > > Nate Eldredge > eldredge AT ap DOT net