Pages

Showing posts with label languages. Show all posts
Showing posts with label languages. Show all posts

Monday, February 16, 2015

The History of Programming Languages Infographic

In this article I am sharing an awesome infographic about history of various popular programming languages with there short introduction.

Also Read: The Top 10 Greatest Programmers in the World of all Time





Source: http://blog.veracode.com/2013/04/the-history-of-programming-languages-infographic/
Read more »

Tuesday, February 10, 2015

Hello World Program in Eight Different Popular Programming Languages

This fact is true that Hello World program is the first program that a programmer writes when he/she start learning a new programming language. Today I thought that I should share the hello world program in different languages. A video is also added for easy understanding of the programs. Let’s take a look on these programs.

Hello World Program in Eight Different Popular Programming Languages

Hello World Program in Java

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

Hello World Program in C

#include<stdio.h>

main()
{
    printf("Hello World");

}

Hello World Program in C++

#include <iostream>

int main()
{
    std::cout << "Hello, world";
}

Hello World Program in Javascript

<script>

window.onload = function()
{
     document.getElementById(result).innerHTML = "Hello World";
}

</script>

<div id="result></div>

Hello World Program in HTML

<p>Hello World</p>

Hello World Program in Python

print "Hello World"

Hello World Program in Perl

print "Hello World"

Hello World Program in Ruby 

puts "Hello World"



Source: http://blog.learntoprogram.tv/hello-world-eight-languages/
Read more »