Differences between version 21 and previous revision of HelloWorld.
Other diffs: Previous Major Revision, Previous Author, or view the Annotated Edit History
Newer page: | version 21 | Last edited on Thursday, June 3, 2004 9:53:16 pm | by AristotlePagaltzis | Revert |
Older page: | version 20 | Last edited on Thursday, June 3, 2004 9:52:30 pm | by AristotlePagaltzis | Revert |
@@ -1,7 +1,7 @@
This is the default introductory program to a new ProgrammingLanguage. It simply prints the text string "Hello World\n".
-HellWorld
is not really meant as a sample program, though. What you learn from creating a Hello World program is how to use the language tools: it's a first exercise in entering, compiling and running a program on a paticular system, and it might make you go find the documentation on the I/O library in some cases. In many very high level languages, it looks exactly the same.
+HelloWorld
is not really meant as a sample program, though. What you learn from creating a Hello World program is how to use the language tools: it's a first exercise in entering, compiling and running a program on a paticular system, and it might make you go find the documentation on the I/O library in some cases. In many very high level languages, it looks exactly the same.
As a demonstration of the feel of a language, PPR:WardNumber is a much better problem. [99 Bottles of Beer on the Wall | http://99-bottles-of-beer.ls-la.net/] can also be adequate.
Some examples of HelloWorld in different [ProgrammingLanguage]s: