From: colin@broca.med.Virginia.EDU (Colin Prepscius)
Subject: Re: program compiled with g++ dumps core?
Date: 1998/03/30 [thread overview]
Message-ID: <6fp0dv$km0$1@murdoch.acc.Virginia.EDU> (raw)
In-Reply-To: 6foo42$4o3$1@guardian.aart.ch
> CP> #include <stdio.h>
>
> Shouldn't this be iostream.h?
You're right. It was. My fault.
> Which RedHat? I'm running 4.1 (on a 433 MHz Miata), and I've heard
rumors
> that c++ doesn't work well on 5.0 (that's one reason why I'm still
running
> 4.1 :) )
Yeah, it's RedHat 5.0. Drat about the rumors.
I narrowed it down some more:
If the line:
...
cout << "Hello";
...
is changed to:
...
cout << "Hello" << endl;
...
it doesn't give me a segmentation fault or core dump. Weird.
-Colin
prev parent reply other threads:[~1998-03-30 5:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-03-30 5:00 program compiled with g++ dumps core? Colin Prepscius
1998-03-30 5:00 ` Andreas Trottmann
1998-03-30 5:00 ` Greg Lindahl
1998-03-30 5:00 ` Colin Prepscius [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox