Nice try :)

This is a discussion on Nice try :) within the A Brief History of Cprogramming.com forums, part of the Community Boards category; Nice try...

  1. #1
    Normal vector Carlos's Avatar
    Join Date
    Sep 2001
    Location
    Budapest
    Posts
    463

    Nice try :)

    Nice try
    Attached Images Attached Images  

  2. #2
    twm
    twm is offline
    root
    Join Date
    Sep 2003
    Posts
    232
    I liked that one too, very funny. Of course, starting loops at 1 and testing for <= is weird style, but I think he did it because most "normal" human beings don't start counting at 0. I give it a 10/10 for humor because the code is actually correct.
    The information given in this message is known to work on FreeBSD 4.8 STABLE.
    *The above statement is false if I was too lazy to test it.*
    Please take note that I am not a technical writer, nor do I care to become one.
    If someone finds a mistake, gleaming error or typo, do me a favor...bite me.
    Don't assume that I'm ever entirely serious or entirely joking.

  3. #3
    End Of Line Hammer's Avatar
    Join Date
    Apr 2002
    Posts
    6,231
    Technically it isn't what the teacher wanted, 'cos it ain't 500 lines, it's only one.
    When all else fails, read the instructions.
    If you're posting code, use code tags: [code] /* insert code here */ [/code]

  4. #4
    Normal vector Carlos's Avatar
    Join Date
    Sep 2001
    Location
    Budapest
    Posts
    463
    Originally posted by Hammer
    Technically it isn't what the teacher wanted, 'cos it ain't 500 lines, it's only one.
    That's why it's only a nice try!

  5. #5
    Registered User major_small's Avatar
    Join Date
    May 2003
    Posts
    2,787
    haha... that's funny 10/10...

    it reminds me of when we had to figure out something for a precalc class and i just went home and wrote a looping program to do it for me
    Join is in our Unofficial Cprog IRC channel
    Server: irc.phoenixradio.org
    Channel: #Tech


    Team Cprog Folding@Home: Team #43476
    Download it Here
    Detailed Stats Here
    More Detailed Stats
    52 Members so far, are YOU a member?
    Current team score: 1223226 (ranked 374 of 45152)

    The CBoard team is doing better than 99.16% of the other teams
    Top 5 Members: Xterria(518175), pianorain(118517), Bennet(64957), JaWiB(55610), alphaoide(44374)

    Last Updated on: Wed, 30 Aug, 2006 @ 2:30 PM EDT

  6. #6
    Just one more wrong move. -KEN-'s Avatar
    Join Date
    Aug 2001
    Posts
    3,230
    Of course the output will be horribly jumbled because he forgot to add a newline escape.

  7. #7
    ¡Amo fútbol!
    Join Date
    Dec 2001
    Posts
    2,136
    Uhh, see hammer's post.

  8. #8
    Just one more wrong move. -KEN-'s Avatar
    Join Date
    Aug 2001
    Posts
    3,230
    Originally posted by golfinguy4
    Uhh, see hammer's post.
    You want me to use code tags?

  9. #9
    ... kermit's Avatar
    Join Date
    Jan 2003
    Posts
    1,528
    Actually, without the newline character, the output has a nice little diagonal pattern to it. Quite pleasing to the eyes..

  10. #10
    ¡Amo fútbol!
    Join Date
    Dec 2001
    Posts
    2,136
    Originally posted by -KEN-
    You want me to use code tags?
    Hammer already said it would only be 1 line.

  11. #11
    Just one more wrong move. -KEN-'s Avatar
    Join Date
    Aug 2001
    Posts
    3,230
    Originally posted by golfinguy4
    Hammer already said it would only be 1 line.
    Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously. Obviously.



    edit: Oh, right, I just got it. Curse you, hammer!

  12. #12
    ___
    Join Date
    Jun 2003
    Posts
    806
    Originally posted by Hammer
    Technically it isn't what the teacher wanted, 'cos it ain't 500 lines, it's only one.

    Technically its about 5 not one
    "When I die I want to pass peacefully in my sleep like my grandfather did, not screaming and yelling like the passengers in his car."

  13. #13
    Registered User major_small's Avatar
    Join Date
    May 2003
    Posts
    2,787
    technically, it depends on your screen's resolution
    Join is in our Unofficial Cprog IRC channel
    Server: irc.phoenixradio.org
    Channel: #Tech


    Team Cprog Folding@Home: Team #43476
    Download it Here
    Detailed Stats Here
    More Detailed Stats
    52 Members so far, are YOU a member?
    Current team score: 1223226 (ranked 374 of 45152)

    The CBoard team is doing better than 99.16% of the other teams
    Top 5 Members: Xterria(518175), pianorain(118517), Bennet(64957), JaWiB(55610), alphaoide(44374)

    Last Updated on: Wed, 30 Aug, 2006 @ 2:30 PM EDT

  14. #14
    Registered User
    Join Date
    Aug 2003
    Posts
    470
    The modern day Gauss?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. A nice GUI in C
    By ReggieBE in forum C Programming
    Replies: 7
    Last Post: 03-31-2006, 08:32 PM
  2. I Found some nice sprites but need more...
    By BigCheese in forum C++ Programming
    Replies: 1
    Last Post: 03-23-2004, 06:03 PM
  3. Replies: 12
    Last Post: 08-05-2003, 03:16 PM
  4. Nice weather :P
    By TeQno in forum A Brief History of Cprogramming.com
    Replies: 15
    Last Post: 06-06-2003, 02:06 AM
  5. Anybody has nice Avatars??
    By Ruski in forum A Brief History of Cprogramming.com
    Replies: 7
    Last Post: 07-25-2002, 02:10 PM

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