Difference between revisions of "Hello, world"

From Computer History Wiki
Jump to: navigation, search
m (Jnc moved page Hello World to Hello, world: Use original V6 C name)
m (+cat)
Line 10: Line 10:
  
 
{{semi-stub}}
 
{{semi-stub}}
 +
 +
[[Category: Demo Software]]

Revision as of 06:01, 14 December 2018

Hello World is the canonical 'shortest example program' in any given programming language; a program which simply prints 'hello, world', and then terminates.

It started with one in the 'C Tutorial' in UNIX V6:

main() {
	printf("hello, world");
}