License Public Domain
Lines 3
Keywords
c (1) Hello World (24) historical (1)
Permissions
Owner: Theodore Test
Group Owner: Famous Code
Viewable by Everyone
Editable by All Siafoo Users

First idiomatic use of Hello World, in C Atom Feed 0

In Brief The first use of "Hello World" as printed output. Debuting in Brian Kernighan's 1974 Programming in C: A Tutorial , these humble phrases were the first lines of C code in the tutorial and appeared several years before Kernighan and Dennis Ritchie's book based on the tutorial immortalized this pattern for students of C everywhere ( C Programming Language ).... more
# 's
1main( ) {
2 printf("hello, world");
3 }

The first use of "Hello World" as printed output. Debuting in Brian Kernighan's 1974 Programming in C: A Tutorial , these humble phrases were the first lines of C code in the tutorial and appeared several years before Kernighan and Dennis Ritchie's book based on the tutorial immortalized this pattern for students of C everywhere ( C Programming Language ).

This version of the C Hello World program is somewhat more minimalistic than its modern derivations .

Comments

over 7 years ago (21 Jun 2009 at 10:34 PM) by Jenifer Irwin
I have a love/hate relationship with 'hello, world.' On one hand, I do get tired of seeing the same old phrase in every intro-to-a-language tutorial I see. On the other hand... well, it's a delightfully perfect phrase! It's not too short and not too long. It's a reflection of the programmer's own first steps on the journey into the new language. And, as this article points out, it's quite iconic by now.

I've always felt that if I ever wrote a language intro tutorial, I would use something other than 'hello, world' as my starter program. And yet, I have a feeling in the back of my mind that when the moment of truth came, I would not be able to use anything *other* than the famous phrase.