Re: [OT] Undefined behavior?

From: Alan Balmer (albalmer_at_att.net)
Date: 10/22/04


Date: Fri, 22 Oct 2004 08:30:40 -0700

On Fri, 22 Oct 2004 07:45:15 GMT, rlb@hoekstra-uitgeverij.nl (Richard
Bos) wrote:

>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.

Come now, I think you have us outclassed with your soccer riots.

>(And anyway, surely they didn't get to the semi-final by losing all
>their previous games?)
>
>Richard

-- 
Al Balmer
Balmer Consulting
removebalmerconsultingthis@att.net


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)
  • Re: Test a class...beginner question
    ... > void MakeTree; ... > int PushBranch; ... which is why understanding the code gives ... that with code I download if it's been available for a while, ...
    (alt.comp.lang.learn.c-cpp)
  • [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)