Hello World: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Pat Palmer
mNo edit summary
imported>Subpagination Bot
m (Add {{subpages}} and remove any categories (details))
Line 1: Line 1:
{{subpages}}
[[Image:HelloWorld.jpg|right|frame|Results of executing a Hello World program in a console on a Linux or Unix system.]]
[[Image:HelloWorld.jpg|right|frame|Results of executing a Hello World program in a console on a Linux or Unix system.]]


Line 21: Line 23:


[http://www.roesler-ac.de/wolfram/hello.htm The Hello World Collection] in more than 300 programming languages
[http://www.roesler-ac.de/wolfram/hello.htm The Hello World Collection] in more than 300 programming languages
[[Category:CZ Live]]
[[Category:Computers Workgroup]]

Revision as of 16:13, 26 September 2007

This article is a stub and thus not approved.
Main Article
Discussion
Related Articles  [?]
Bibliography  [?]
External Links  [?]
Citable Version  [?]
Code [?]
 
This editable Main Article is under development and subject to a disclaimer.
Results of executing a Hello World program in a console on a Linux or Unix system.

A Hello World program, as first introduced in the book The C Programming Language, is a very short program that typically just prints a word or two of output to a console. Such a program is often one of the first programs that a programmer writes when learning a programming language, as it provide's a cursory introduction to the language's syntax and output.

Example in C

#include <stdio.h>

int main()
{
    printf("This is my first C program!\n");
    return 0;
}

See also

99 Bottles of Beer

External links

The Hello World Collection in more than 300 programming languages