"Hello World"? Did the first proggie ever output "hello world?" Or is the origin lost forever in coding folklore? https://www.sharkyforums.com/images/.../2005/06/5.gif
Lethal
------------------
The road to Hell is paved with good intentions
Printable View
"Hello World"? Did the first proggie ever output "hello world?" Or is the origin lost forever in coding folklore? https://www.sharkyforums.com/images/.../2005/06/5.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 https://www.sharkyforums.com/images/.../2005/06/5.gif
Qwex is right.. It originated from the creators of the original ANSI 'C' from what I've read..Quote:
Originally posted by LethalWolfe:
"Hello World"? Did the first proggie ever output "hello world?" Or is the origin lost forever in coding folklore? https://www.sharkyforums.com/images/.../2005/06/5.gif
Lethal
------------------
- You can milk anything with nipples -
Hmmm, I wonder what the first program said in the old-skoo Cobol or Fortran books? Probably just "Hello."
It is in the K & R C book way back before ANSI C ever saw the light of day.
------------------
Blueskies Blackdeath
Quote:
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
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]
Nah, it said "Holy ****! It worked!"Quote:
Originally posted by Grizzly:
Hmmm, I wonder what the first program said in the old-skoo Cobol or Fortran books? Probably just "Hello."
------------------
Advocate of the Sharky (Ultra) High-Resolution Club [SHRC]
main(i){putchar(341513875>>(i-1)*5&31|!!(i<6)<<6)&&main(++i);}
Hahahaha! You got that right https://www.sharkyforums.com/images/.../2005/06/4.gifQuote:
Originally posted by reklis:
Nah, it said "Holy ****! It worked!"