Click to See Complete Forum and Search --> : Does anyone know the origin of...
LethalWolfe
08-06-2001, 03:24 AM
"Hello World"? Did the first proggie ever output "hello world?" Or is the origin lost forever in coding folklore? http://www.sharkyforums.com/ubb/smile.gif
Lethal
------------------
The road to Hell is paved with good intentions
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 http://www.sharkyforums.com/ubb/smile.gif
Adisharr
08-06-2001, 12:26 PM
Originally posted by LethalWolfe:
"Hello World"? Did the first proggie ever output "hello world?" Or is the origin lost forever in coding folklore? http://www.sharkyforums.com/ubb/smile.gif
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 -
Grizzly
08-06-2001, 12:27 PM
Hmmm, I wonder what the first program said in the old-skoo Cobol or Fortran books? Probably just "Hello."
alienrash
08-06-2001, 01:46 PM
It is in the K & R C book way back before ANSI C ever saw the light of day.
------------------
Blueskies Blackdeath
biosx
08-06-2001, 04:12 PM
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
blowwad
08-06-2001, 04:21 PM
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]
reklis
08-06-2001, 09:03 PM
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);}
Grizzly
08-07-2001, 07:56 AM
Originally posted by reklis:
Nah, it said "Holy ****! It worked!"
Hahahaha! You got that right http://www.sharkyforums.com/ubb/tongue.gif