Re: [OT] Undefined behavior?
From: Richard Bos (rlb_at_hoekstra-uitgeverij.nl)
Date: 10/22/04
- Next message: Richard Bos: "Re: glib: problem with GArray"
- Previous message: Richard Bos: "Re: Malloc/Free - freeing memory allocated by malloc"
- In reply to: Christopher Benson-Manica: "[OT] Undefined behavior?"
- Next in thread: Alan Balmer: "Re: [OT] Undefined behavior?"
- Reply: Alan Balmer: "Re: [OT] Undefined behavior?"
- Reply: Michael Wojcik: "Re: [OT] Undefined behavior?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 22 Oct 2004 07:45:15 GMT
Christopher Benson-Manica <ataru@nospam.cyberspace.org> wrote:
> My understanding is that the following program exhibited undefined
> behavior until very recently:
>
> #include <stdio.h>
>
> int main( void )
> {
> printf( "Red Sox win! Red Sox win!\n" );
> return 0;
> }
Nope. It printed a line of text which is just as relevant to the real
world as "Hello, world!". It never ceases to amuse me how you USAliens
can get even more worked up about a game of rounders than my compatriots
get about chasing an inflated bladder.
(And anyway, surely they didn't get to the semi-final by losing all
their previous games?)
Richard
- Next message: Richard Bos: "Re: glib: problem with GArray"
- Previous message: Richard Bos: "Re: Malloc/Free - freeing memory allocated by malloc"
- In reply to: Christopher Benson-Manica: "[OT] Undefined behavior?"
- Next in thread: Alan Balmer: "Re: [OT] Undefined behavior?"
- Reply: Alan Balmer: "Re: [OT] Undefined behavior?"
- Reply: Michael Wojcik: "Re: [OT] Undefined behavior?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|