Re: C Contest...
From: Wiseguy (noone_at_uber.usachoice.net)
Date: 03/20/05
- Previous message: Anthony Borla: "Re: Problem with long double in MS VC++ v6.0 ?"
- In reply to:(deleted message) Aaron: "C Contest..."
- Next in thread: Aaron: "Re: C Contest..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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 =----
- Previous message: Anthony Borla: "Re: Problem with long double in MS VC++ v6.0 ?"
- In reply to:(deleted message) Aaron: "C Contest..."
- Next in thread: Aaron: "Re: C Contest..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|