About

Showing posts with label hello world on different programming language. Show all posts
Showing posts with label hello world on different programming language. Show all posts

Wednesday, October 30, 2013

Why they are using Hello world program?


 When you enroll yourself to any modern computer programming classes. They will taught you a program which gives the result as "Hello World"! (program result in the displaying the text as hello world).
why it show, is it any tradition to do so.

 Its all start with a book in 1970's on C program. Yes, 'THE C PROGRAMMING LANGUAGE', one of the bible of c program language. In that book, lot of example programs to describe the programming concepts and illustration on 'C', they used 'hello, world' in most of the time. That's the point in time where HELLO WORLD is become traditional in programming world.


(the authors of the book-Dennis Ritchie and Brian Kernighan)

Let see some of the hello world examples in popular programming language:

// in c program
main()
 {
        printf("hello, world");
 }


//in c++ program
main ()
{
  cout << "Hello World!";
}


//in java program
 public class HelloWorld {
        public static void main(String [] args) {
            System.out.println("Hello World!");
        }
    }


//in python
   print("Hello World!")



//in java script
console.log("Hello world!");


//in ruby
 puts "Hello World!"


//in c#
 System.Console.WriteLine("Hello World!");



Plan to see more on programmings in general as well as deeper in upcoming posts.



Post made by
newworld

ShieldBreak: When Microsoft Patches a Zero-Day and the Researcher Patches the Patch

ShieldBreak: When Microsoft Patches a Zero-Day and the Researcher Patches the Patch Category: Vulnerability Research | Windows Security |...