Hello

From Js

Jump to: navigation, search

Contents

I would like to collect hello world programs in order of historical occurrence. If you can contribute one in the proper historical order than please do so.

BASIC (1964)

 10 PRINT "Hello World!"

B (1969)

 main( ) 
 {
   extrn a, b, c;
   putchar(a); putchar(b); putchar(c); putchar('!*n');
 }
 a 'hell';
 b 'o, w';
 c 'orld';

C (1969)

 #include<stdio.h>
 
main() { printf("Hello World!"); }

C++ (1983)

The Hello World program written in C++.

 #include <iostream> 
 using namespace std;
 
int main() { cout << "Hello World\n"; return 0; }

Java (1991)

 class helloWorld
 {  
       public static void main(String args[])
       {
          System.out.println("Hello World!");
       }
 }

Python (1991)

 print "Hello, World!"
 raw_input("Press the enter key to exit")


PHP (1995)

The Hello World program written in PHP.

 <?php
   print "Hello World\n";
 ?>
Personal tools
JS Wiki
Mr. O's Box
professional development