Re: C Contest...

From: Wiseguy (noone_at_uber.usachoice.net)
Date: 03/20/05

  • Next message: Vince Morgan: "Re: launchin external application"
    Date: 19 Mar 2005 20:19:55 -0600
    
    

    Aaron <adenunzio@_hotmail.com> scribbled on the stall wall:
    > A long time ago my brother and I had a contest to see who could write the
    > smallest card shuffler. I won with 316 bytes. (keystrokes). Below is the
    > source.
    >
    > Can anybody beat it? Or any suggestions. I realize this code is very
    > inefficient. Notice no randomize, and it does retain the card order in the d[]
    > array.
    >
    > Comments please!!!!
     
    Sometimes smaller is not better...I'd be more concerned with correctness
    of code and efficiency than I would be about size of the function. After all,
    it's not like it is still necessary to cram a program into a 16KB ram
    chunk in a trash-80.

    ----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==----
    http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
    ----= East and West-Coast Server Farms - Total Privacy via Encryption =----


  • Next message: Vince Morgan: "Re: launchin external application"

    Relevant Pages

    • Re: C Contest...
      ... On Thu, 17 Mar 2005, Aaron wrote: ... > A long time ago my brother and I had a contest to see who could write the ... Make a 316-character C program that actually randomizes an array, ...
      (alt.comp.lang.learn.c-cpp)
    • Re: C Contest...
      ... In article, Aaron ... >A long time ago my brother and I had a contest to see who could write the ... For project ideas and contributions: http://www.spellen.org/youcandoit/projects ...
      (alt.comp.lang.learn.c-cpp)
    • Re: C Contest...
      ... Aaron wrote: ... > A long time ago my brother and I had a contest to see who could write the ... int p,s,d; ...
      (alt.comp.lang.learn.c-cpp)
    • Re: SCWC 51
      ... acknowledging Max's lesser known brother as the ... protagonist of the winning clue. ... I now declare open the 51st edition of this contest. ... reason for this word; it just happened to pop into my head: ...
      (rec.puzzles.crosswords)
    • Re: Brno race - ... SPOILERS
      ... I met his brother a few weeks ago at the Seattle 100. ... Yates is hysterical, we had a charity auction/dinner and I had Yates laughing and dancing around like Tony Fania at Daytona, flipping me off with both hands! ... Oops change Aaron above to Anthoy. ...
      (rec.motorcycles.racing)