Sign up -- Contest Thread

This is a discussion on Sign up -- Contest Thread within the A Brief History of Cprogramming.com forums, part of the Community Boards category; Contest theme: Phone Book Directions: Write a pure C program, using only standard function calls and your own wits, that ...

  1. #1
    Just because ygfperson's Avatar
    Join Date
    Jan 2002
    Posts
    2,493

    Sign up -- Contest Thread

    Contest theme: Phone Book
    Directions: Write a pure C program, using only standard function calls and your own wits, that organizes phone numbers and corresponding names in a way which makes your program the best.
    Criteria:
    speed -- will not be counted because it's damn near impossible to measure nowadays...
    efficiency -- make your program lean and mean
    elegance -- make your source code neat and logically flowing
    portability -- this should be inferred from "pure C"
    specialized criteria:
    sorting algorithms -- use the one most suitable for your program, and make it fit the above criteria
    interface -- make it look neat to the end user.
    flexibility -- make your program able to handle (reasonably) large volumes of data, and yet keep it small if the end user happens to be a priest (or just a nerd)
    Time Limit: write and submit your programs to geoschnee2@thetruth.com or you can pm me the code. Just make sure I have it. The contest ends next Sunday night, the 19th (because i'll be in North Carolina on Saturday). I will distribute the submitted code (which may include executables) to all the judges after then. There are 6 days left.(note: if you submit something within a day after sunday, which might happen because of time zone differences, i'll still accept it.)
    Signed up Contestants: 9 slots left, 6 slots filled
    Hammer
    cicero
    brian
    QuestionC
    dbaryl
    Dual-Catfish
    Signed up Judges: 2 slots left, 3 slots filled
    ygfperson
    nvoigt
    prelude
    Make sure your program can add new entries, delete old entries, and show current entries, at least. Those programs that can save their info for later are especially welcomed.

    If you want to judge or be a contestant reply to this thread saying which one you want to be. Judges should have the necessary knowledge to judge. Note: your source code will be posted in public after judging.

    And above all, make sure your program works...
    Good Luck.
    Last edited by ygfperson; 05-13-2002 at 09:09 PM.

  2. #2
    Registered User Dual-Catfish's Avatar
    Join Date
    Sep 2001
    Posts
    802
    I really don't think that's fair to make it pure C... that excludes many of us from even trying. (Including me)

    Why couldn't it be C++?

  3. #3
    left crog... back when? incognito's Avatar
    Join Date
    Oct 2001
    Posts
    1,427
    being as I am busy learning other things (check my sig) and partly because I suck, I am not going to program for this particular contest, so I rather be a judge.
    There are some real morons in this world please do not become one of them, do not become a victim of moronitis. PROGRAMMING IS THE FUTURE...THE FUTURE IS NOW!!!!!!!!!

    "...The only real game I thank in the world is baseball..." --Babe Ruth

    "Life is beautiful"-Don Corleone right before he died.

    "The expert on anything was once a beginner" -Baseball poster I own.


    Left cprog on 1-3-2005. Don't know when I am coming back. Thanks to those who helped me over the years.

  4. #4
    Just because ygfperson's Avatar
    Join Date
    Jan 2002
    Posts
    2,493
    Originally posted by Dual-Catfish
    I really don't think that's fair to make it pure C... that excludes many of us from even trying. (Including me)

    Why couldn't it be C++?
    there needs to be a standard. C++ offers advantages which make the C programmer struggle harder. I made it C because it's simpler to judge and encourages smaller programs. Most importantly, it was luck of the draw.

    Don't fret about C. C++ is almost C, with minor exceptions. Just don't use classes, anything STL, and some syntax (like declaring integers and assigning them on the same command: int x=0; ) is not allowed. Ditto with for loops.

    I've updated the post, 3 judges left.

  5. #5
    End Of Line Hammer's Avatar
    Join Date
    Apr 2002
    Posts
    6,231
    Mark me down as a contestant..... hopefully I'll get it finished in time, work permitting.

    What's the prize, btw? A week on the sunny beaches of somewhere nice with loads of good looking barmaids bringing drinks all day?
    Last edited by Hammer; 05-09-2002 at 07:54 PM.
    When all else fails, read the instructions.
    If you're posting code, use code tags: [code] /* insert code here */ [/code]

  6. #6
    left crog... back when? incognito's Avatar
    Join Date
    Oct 2001
    Posts
    1,427
    If this is an official contest from cprog and its members, then I feel this thread should be made a sticky for at least a week. Mods what ya think?
    There are some real morons in this world please do not become one of them, do not become a victim of moronitis. PROGRAMMING IS THE FUTURE...THE FUTURE IS NOW!!!!!!!!!

    "...The only real game I thank in the world is baseball..." --Babe Ruth

    "Life is beautiful"-Don Corleone right before he died.

    "The expert on anything was once a beginner" -Baseball poster I own.


    Left cprog on 1-3-2005. Don't know when I am coming back. Thanks to those who helped me over the years.

  7. #7
    Peace
    Join Date
    Aug 2001
    Posts
    1,510
    Sure. Done.
    "There's always another way"
    -lightatdawn (lightatdawn.cprogramming.com)

  8. #8
    Just because ygfperson's Avatar
    Join Date
    Jan 2002
    Posts
    2,493
    your prize is the admiration and respect from those who normally would ignore that bear trap on your foot because of the shame you have brought them.

    in other words, bull-excrement.

  9. #9
    train spotter
    Join Date
    Aug 2001
    Location
    near a computer
    Posts
    3,859
    >>A week on the sunny beaches of somewhere nice with loads of good looking barmaids bringing drinks all day?

    Sure come and visit anytime. Bring suntan lotion.
    "Man alone suffers so excruciatingly in the world that he was compelled to invent laughter."
    Friedrich Nietzsche

    "I spent a lot of my money on booze, birds and fast cars......the rest I squandered."
    George Best

    "If you are going through hell....keep going."
    Winston Churchill

  10. #10
    the hat of redundancy hat nvoigt's Avatar
    Join Date
    Aug 2001
    Location
    Hannover, Germany
    Posts
    3,139
    Sign me up as judge.

    Wouldn't be fair to participate, I spend 40 hours a week programming tools for address databases. You'd probably get an application with an Oracle DB from me managing a whole continents phonebooks including country specific formats

    Please note that if it's "Pure C" I will submit a header to the public, that will allow the C people to use gotoxy and clrscr in MSVC Console mode. conio.h is far from standard.

    If you make me a judge, I will look at some criteria not directly mentioned above:

    Variable and Function naming
    Standard procecures
    Comments
    Program structure and modularity
    hth
    -nv

    She was so Blonde, she spent 20 minutes looking at the orange juice can because it said "Concentrate."

    When in doubt, read the FAQ.
    Then ask a smart question.

  11. #11
    www.entropysink.com
    Join Date
    Feb 2002
    Posts
    605
    Mark me down as a contestant (as long as nobody laughs)!!!
    Visit entropysink.com - It's what your PC is made for!

  12. #12
    End Of Line Hammer's Avatar
    Join Date
    Apr 2002
    Posts
    6,231
    Originally posted by novacain
    >>A week on the sunny beaches of somewhere nice with loads of good looking barmaids bringing drinks all day?

    Sure come and visit anytime. Bring suntan lotion.
    git That's not on! We have crappy summers here. Maybe we should swap.... you like rain and cloudy days?
    Damn, 'spose I should get coding.... gonna miss that dealine....
    When all else fails, read the instructions.
    If you're posting code, use code tags: [code] /* insert code here */ [/code]

  13. #13
    train spotter
    Join Date
    Aug 2001
    Location
    near a computer
    Posts
    3,859
    >>you like rain and cloudy days?

    Its winter here now.

    Got down to 24C today. Surfs up though.
    "Man alone suffers so excruciatingly in the world that he was compelled to invent laughter."
    Friedrich Nietzsche

    "I spent a lot of my money on booze, birds and fast cars......the rest I squandered."
    George Best

    "If you are going through hell....keep going."
    Winston Churchill

  14. #14
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,796
    I'll judge as well if there's a spot left.

    -Prelude
    My best code is written with the delete key.

  15. #15
    Just because ygfperson's Avatar
    Join Date
    Jan 2002
    Posts
    2,493
    conio.h is all right. i'm talking about anything excessively helpful... like a library deticated to phone books (if there is such a thing).

    but using conio.h will get points dropped from the portability scale...

    //edit: updated post

    need more contestants!!!
    Last edited by ygfperson; 05-10-2002 at 02:51 PM.

Page 1 of 5 12345 LastLast
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 2
    Last Post: 04-12-2004, 02:37 AM
  2. WANTED: Contest Master
    By kermi3 in forum A Brief History of Cprogramming.com
    Replies: 15
    Last Post: 01-23-2003, 10:15 PM
  3. Your Best thread and your most stupid thread ??
    By jawwadalam in forum A Brief History of Cprogramming.com
    Replies: 13
    Last Post: 01-03-2003, 07:41 PM
  4. Sign Up -- The Next Contest
    By ygfperson in forum A Brief History of Cprogramming.com
    Replies: 49
    Last Post: 06-26-2002, 07:09 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21