Does anyone know the origin of...

Sharky Forums


Results 1 to 9 of 9

Thread: Does anyone know the origin of...

  1. #1
    Tiger Shark LethalWolfe's Avatar
    Join Date
    Oct 2000
    Location
    Indianapolis, IN
    Posts
    656

    Post Does anyone know the origin of...

    "Hello World"? Did the first proggie ever output "hello world?" Or is the origin lost forever in coding folklore?


    Lethal

    ------------------
    The road to Hell is paved with good intentions
    The road to Hell is paved with good intentions

  2. #2
    Catfish
    Join Date
    Oct 2000
    Posts
    228

    Post

    I believe it was the sample program in the first book on C programming, wrote by the creators of C (not sure of the exact names)

    now it's perhaps the most widely written program every

  3. #3
    Master of the obvious Adisharr's Avatar
    Join Date
    Sep 2000
    Location
    A room large enough for my head
    Posts
    6,553

    Post

    Originally posted by LethalWolfe:
    "Hello World"? Did the first proggie ever output "hello world?" Or is the origin lost forever in coding folklore?


    Lethal

    Qwex is right.. It originated from the creators of the original ANSI 'C' from what I've read..

    ------------------
    - You can milk anything with nipples -
    ...WAIT FOR IT

  4. #4
    Ursus Arctos Moderatis Grizzly's Avatar
    Join Date
    Sep 2000
    Location
    Providence, RI USA
    Posts
    3,077

    Post

    Hmmm, I wonder what the first program said in the old-skoo Cobol or Fortran books? Probably just "Hello."

  5. #5
    Tiger Shark
    Join Date
    Oct 2000
    Posts
    631

    Post

    It is in the K & R C book way back before ANSI C ever saw the light of day.


    ------------------
    Blueskies Blackdeath
    Blueskies Blackdeath

  6. #6
    Reef Shark biosx's Avatar
    Join Date
    Jun 2001
    Location
    Chicago, IL, USA
    Posts
    448

    Post

    Originally posted by alienrash:
    It is in the K & R C book way back before ANSI C ever saw the light of day.



    Actually, he was really talking about K&R. You have to remember that the second edition of K&R was devoted to ANSI C.

    I'm pretty sure that it DIDNT originate in that book though. If you look at the context of how they say it in K&R:

    As taken from K&R Second Edition:
    "The first program to write is the same for all programming languages..


    By the context and feeling of this, they state it like it was made a staple of languages before the book came out.

    It probably originated with Fortran or COBOL or maybe even (eek) QBasic.

    Who knows.



    ------------------
    ## root is the greed of all evil ##

    /* Navi Specs */
    • Abit KT7-RAID
    • Thunderbird 1.2GHz
    • Geforce 2 GTS 32MB DDR
    • 512MB Micron/Crucial SDRAM
    • SB Live! 5.1 w/ Live! Drive
    • Maxtor ATA100 40GB
    • Pioneer 16x DVD
    • HP 9300 series CD-RW
    • Netgear FA311 NIC
    • Win98SE / Linux Mandrake 8.0
    • ViewSonic A72F PerfectFlat
    ## root is the greed of all evil ##

  7. #7
    Expensive Sushi blowwad's Avatar
    Join Date
    Aug 2001
    Location
    lakewood, wa, u.s.a.
    Posts
    15

    Post



    As taken from K&R Second Edition:
    "The first program to write is the same for all programming languages..



    Who knows, in modern day COBOL and RPG books the first program written is some sort of file access program resulting in a hard copy print out when the program is called so the 'Hello World' program is non existant. Perhaps a trip to the computer section of your local used book store will yeild some historical processes in action to help answer your hunger for trivia.

    [/B][/QUOTE]


  8. #8
    Reef Shark
    Join Date
    Apr 2001
    Location
    Austin, TX
    Posts
    371

    Post

    Originally posted by Grizzly:
    Hmmm, I wonder what the first program said in the old-skoo Cobol or Fortran books? Probably just "Hello."
    Nah, it said "Holy ****! It worked!"

    ------------------
    Advocate of the Sharky (Ultra) High-Resolution Club [SHRC]
    main(i){putchar(341513875>>(i-1)*5&31|!!(i<6)<<6)&&main(++i);}
    Advocate of the Sharky (Ultra) High-Resolution Club [SHRC]
    main(i){putchar(341513875>>(i-1)*5&31|!!(i<6)<<6)&&main(++i);}

  9. #9
    Ursus Arctos Moderatis Grizzly's Avatar
    Join Date
    Sep 2000
    Location
    Providence, RI USA
    Posts
    3,077

    Post

    Originally posted by reklis:
    Nah, it said "Holy ****! It worked!"

    Hahahaha! You got that right


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •