IndexIntro to ProgrammingHello World

Almost all of the tutorial regarding programming language starts with a Hello World program. What it basically do is to display the words "Hello World" on a display device.

Different language uses different syntax on achieving this program. Here are some of them (Jump to the language you wish to study):

C: helloWorld.c #include<stdio.h> main() { printf("Hello World"); }

C++: helloWorld.cpp #include <iostream> using namespace std; main() { cout << "Hello World!"; return 0; }

Javascript (Inline): helloWorld.html <script> alert("Hello World!"); </script>

Javascript (External): helloWorld.js alert("Hello World!");

PHP: helloWorld.php <?php echo "Hello World!" ?>

Python: helloWorld.py print "Hello, World!"

Ruby: helloWorld.rb print "Hello, World!"

Currently we have C and C++ but we will try to add more as days goes by.
Last Update: July 22, 2008
Created: July 14, 2008

Intro to Programming