Hello World Program
(Redirected from "Hello, World!" program)
Jump to navigation
Jump to search
A Hello World Program is a simple computer program that outputs the expression “Hello, World!”.
- Context
- It can be used to:
- initiate a novice computer programmer.
- test the installation of a new programming language.
- …
- It can be used to:
- Example(s):
- Counter-Example(s):
- See: Computer Programming, Programming Languages, Algorithm, Subroutine, Functional Programming.
References
2018a
- (Wikipedia, 2018) ⇒ https://en.wikipedia.org/wiki/%22Hello,_World!%22_program Retrieved:2018-5-13.
- A "Hello, World!" program is a computer program that outputs or displays "Hello, World!" to a user. Being a very simple program in most programming languages, it is often used to illustrate the basic syntax of a programming language for a working program, and as such is often the very first program people write. [1]
2018b
- (WikiBooks, 2018) ⇒ https://en.wikibooks.org/wiki/Computer_Programming/Hello_world Retrieved:2018-5-13.
- QUOTE: Hello, world! programs make the text "Hello, world!" appear on a computer screen. It is usually the first program encountered when learning a programming language. Otherwise, it's a basic sanity check for an installation of a new programming language. If "Hello World" won't run, one must not try to develop complex programs before fixing the issues with the installation.
2018c
- (HWC, 2018) ⇒ The Hello World Collection. In: http://helloworldcollection.de/ Retrieved:2018-5-13.
- QUOTE: "Hello World" is the first program one usually writes when learning a new programming language. Having first been mentioned in Brian Kernighan's tutorial to the B programming language, it became widely known through Kernighan & Ritchie's 1978 book that introduced "The C Programming Language", where it read like this:
main() { printf("hello, world\n");
}
- Since then, Hello World has been implemented in just about every programming language on the planet. This collection includes 579 Hello World programs in as many more-or-less well known programming languages, plus 78 human languages.
1988
- (Kernighan & Ritchie, 1988) ⇒ Brian W. Kernighan, and Dennis Ritchie. (1988). “The C Programming Language.”
- QUOTE: ... The only way to learn a new programming language is by writing programs in it. The first program to write is the same for all languages:
Print the words
hello, world
... In C, the program to print ``hello, world" is a #include <stdio.h>
- QUOTE: ... The only way to learn a new programming language is by writing programs in it. The first program to write is the same for all languages:
main() { printf("hello, world\n"); }