• Hello World Programs of most widely used 10 languages This post may change in time


    Hello world is the simplest piece of code of any programming language . Mostly it is used for teaching people these languages . This may be the first working code for any coding ninja out there .Probably one have to start with a helloworld program and then move on to more complex programming terms .Below i list Hello world programs for most widely used 10 languages

    1.php


    <?php
    Print "Hello, World!";
    >
    <php
    Echo "Hello, World!";
    ? >

    2.javascript


    <script type="text/javascript">
    document.write('Hello World');
    </script>

    3.c#


    class Hello
    //This program displays Hello World
    {
    static public void Main()
    {
    System.Console.WriteLine("Hello World");
    }
    }


    4.java



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


    5.c++



    include
    using namespace std;
    void main()
    {
    cout << "Hello World!" << endl; cout << "Welcome to C++ Programming" << endl; }


    6.android app


    package com.android.helloandroid;

    import android.app.Activity;
    import android.os.Bundle;
    import android.widget.TextView;

    public class HelloAndroid extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    TextView tv = new TextView(this);
    tv.setText("Hello, Android");
    setContentView(tv);
    }
    }


    7.Objective-C


    #import
    int main( int argc, const char *argv[] ) {
    printf( "hello world\n" );
    return 0;
    }


    8.Python



    $ vim helloworld.py

    #!/usr/bin/python

    # Hello world python program

    print "Hello World!";



    9.perl



    #!/usr/bin/perl
    print "Hello World.\n";




    10.Actionscript



    package ca.flashdev.hello {
    public class HelloWorld {
    public function sayHello():String {
    var greeting:String = "Hello World!";
    return greeting;
    }
    }
    }

    more
  • Greatest of Ever

    If you had any doubt about how huge the iPad is, this should put it to rest. According to Bernstein Research, the iPad is now the top selling gadget of all time. According to TUAW, that amounts to an estimated 8.5 million units.
    While we’ve heard stories and then denials about how the iPad is causing havoc in the mobile computer market, 8.5 million is certainly enough to do just that. Those numbers, of course, are only going to increase as well with the upcoming holiday season and the recent Wal-Mart and Target stocking of the device in the US.


    more
  • Ipad Wars
    e’d be the first to admit using Apple’s iPad isn’t exactly rocket science, and we will also admit that Apple is at the top of its game when it comes to easy-to-use products.
    But if you didn’t take the time to read the owner’s manual, we have some quick and neat tips and tricks that can help you get the most out of your tablet.
    From managing the sound levels of your tunes, to organization your apps, to muting in the case of emergency, we have 10 handy hints for you to work your way to iPad ninja status.
    Check out our tried and tested iPad tips, and impress your friends when they come to you for help with their iPad. Be sure to let us know if there are any shortcuts you’d like to share in the comments below.


    more
  • Social Network Movie

    What effect has the film The Social Network had on the Facebook brand itself? YouGov BrandIndex, a daily consumer perception research service, compiled data to examine just that.
    An oft-discussed part of the film is its portrayal of FacebookFacebook co-founder Mark Zuckerberg. Zuckerberg himself doesn’t seem too worried about the film, but that doesn’t negate the overall impact the film will have on how Facebook is perceived now or in the future.
    As we noted in our film review, for better or worse, the story presented in The Social Network will become part of the historical lore for the company.
    The question is, has the film helped or hurt the brand? YouGov BrandIndex took at look at the general perception of Facebook among three different demographic groups between September 16, 2010 and October 6, 2010.
    Check out the chart of its results:


    more
  • Mac Maniac

    About aMac Island Stains Free Stationery Pack
    Offers many themes for Apple’s Mail software. Thanks to this pack, you can download all aMac Island themes in one click and so give your e-mails look more friendly.

    This pack contains 2 Free themes for Apple Mail software.
    - Sun Stain
    - Ink Stain

    more
  • Interactive Gadgets

    Although it has not been commercially available until today, early releases of the new operating system have received a glowing reception from software developers, hardware manufacturers and reviewers. They have been impressed by its superior speed and performance, improved layout of taskbars for accessing favourite applications and features such as the HomeGroup that serves to simplify the sharing of files, photos and hardware devices across a home network.
    In addition to this, Windows 7 has touch technology built in, making it much easier for hardware manufacturers to deliver a new breed of integrated touch sensitive PCs to market, the first fruits of which have already been launched by vendors such as HP.


    more
  • Wareabouts Of Windows 7



    Software giant Microsoft will formally launch its much touted OS Windows 7 in 34 languages on October 22nd globally. This time it’s not going to be a global extravaganza but instead Microsoft has adopted a very different style of marketing the new OS as it attempts to reach out more personally to its customers and how are they going to do that?? Many smaller events have been planned not by Microsoft but by Windows users who will be hosting their Windows 7 host parties to spread the good word on the new OS.
    India has to wait a little longer because of Union budget 09

    more

Featured Video

POPULAR POSTS

shared items

VISITORS SO FAR