Re: [OT] Undefined behavior?

From: Richard Bos (rlb_at_hoekstra-uitgeverij.nl)
Date: 10/22/04


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



Relevant Pages

  • Re: CryptRL 0.6340 first ASCII release
    ... taken more personally than general game comments. ... which has over 300 public members. ... int getDexterite() ... void setDexterite_Mod ...
    (rec.games.roguelike.development)
  • Re: CryptRL 0.6340 first ASCII release
    ... taken more personally than general game comments. ... int getDexterite() ... void setDexterite_Mod ... These 12 members can be replaced with just a few: ...
    (rec.games.roguelike.development)
  • [EXPL] XBlast Local Root Exploit
    ... The game can be played with at least two players and up to four ... A buffer inside XBlast could be overflowed by passing a long $HOME ... void banner; ... void memret (char *, int, int, int); ...
    (Securiteam)
  • Re: [OT] Undefined behavior?
    ... Christopher Benson-Manica wrote: ... > My understanding is that the following program exhibited undefined ... > int main(void) ...
    (comp.lang.c)
  • My code wont compile!
    ... This game is crap but that's what I expect (but of course not the ... void gameover; ... void gotoxy (int x, int y); ... cprintf(" "); ...
    (comp.compilers.lcc)