+ Reply to Thread
Page 1 of 6 123 ... LastLast
Results 1 to 10 of 58

Thread: Hello World!

  1. #1
    merrillmck is offline x10 Sophmore merrillmck is an unknown quantity at this point
    Join Date
    Jun 2009
    Location
    Florida, USA
    Posts
    134

    Hello World!

    Simple rules: Say "Hello World!" in a natural or computer language and tell us what language you're speaking.

    Language: ANSI-C

    #include <stdio.h>

    int main( char **argv, int argc )
    {
    printf( "Hello World!" );
    return 0;
    }

  2. #2
    alexandgruntz is offline x10 Elder alexandgruntz is an unknown quantity at this point
    Join Date
    Aug 2007
    Location
    Auckland, New Zealand
    Posts
    744

    Re: Hello World!

    document.write('Hello, World')

    Javascript
    Left.

  3. #3
    ichwar's Avatar
    ichwar is offline Community Advocate ichwar is an unknown quantity at this point
    Join Date
    Dec 2008
    Location
    NC, USA
    Posts
    1,454

    Re: Hello World!

    <?php
    echo "Hello World!";
    ?>

    That's php.

    @alexandgrunts, you don't know js too well do you?
    Try this:
    <script type="text/javascript">
    document.write('Hello, World');
    </script>

  4. #4
    merrillmck is offline x10 Sophmore merrillmck is an unknown quantity at this point
    Join Date
    Jun 2009
    Location
    Florida, USA
    Posts
    134

    Re: Hello World!

    Language - American English (natural languages too as users here span the globe)

    Hello World!
    And a "Hello World!" has traditionally been one of the smaller or simpler programs that is self-contained (that will interpret or compile without errors). But if you want to save time and just write the print statement without all the other stuff ... it's all good ... nothing wrong with being lazy or efficient (point-of-view).

  5. #5
    ichwar's Avatar
    ichwar is offline Community Advocate ichwar is an unknown quantity at this point
    Join Date
    Dec 2008
    Location
    NC, USA
    Posts
    1,454

    Re: Hello World!

    שלום העולם

    Hebrew

  6. #6
    zen-r's Avatar
    zen-r is offline Lord Of The Keys zen-r is an unknown quantity at this point
    Join Date
    Aug 2008
    Location
    Location,Location. Nothing else matters ....apparently.
    Posts
    1,937

    Re: Hello World!

    Quote Originally Posted by ichwar View Post
    שלום העולם

    Hebrew
    Forum rules : in the English section, English only.

    http://forums.x10hosting.com/news-an...gulations.html

    Sorry ichwar, you are now BANNED! ;)


    10 PRINT "Hello, World!"
    20 END

    Language : Basic. As mastered by me on the Sinclair ZX80 when that came out.

    No, I can't be that old. It must have been in a former life!
    Last edited by zen-r; 06-22-2009 at 09:10 AM.
    For great installation & servicing of Audio Visual systems & equipment
    inc. LCD & Plasma Screens, Loudspeakers, Projectors, Aerials & Satellite Dishes, Lighting effects & controllers, Hifi, Amplifiers, Surround Sound, Home Cinema & Video etc
    -: based around Plymouth, Devon, or anywhere in the southwest of the UK, visit :-

  7. #7
    merrillmck is offline x10 Sophmore merrillmck is an unknown quantity at this point
    Join Date
    Jun 2009
    Location
    Florida, USA
    Posts
    134

    Re: Hello World!

    Tough crowd!

    Spanish, gringo:

    Hola, mundo!
    I think the Basic language scared me from programming for about 10 years. The Trash80 computers didn't help either (that's Tandy if I recall correctly). I think I avoided programming for almost 10 years before learning a little C/C++/Pascal. Late start!

  8. #8
    alexandgruntz is offline x10 Elder alexandgruntz is an unknown quantity at this point
    Join Date
    Aug 2007
    Location
    Auckland, New Zealand
    Posts
    744

    Re: Hello World!

    Hello, World

    English

    BTW ichwar I omitted the HTML part deliberately.
    Left.

  9. #9
    ichwar's Avatar
    ichwar is offline Community Advocate ichwar is an unknown quantity at this point
    Join Date
    Dec 2008
    Location
    NC, USA
    Posts
    1,454

    Re: Hello World!

    Quote Originally Posted by alexandgruntz View Post
    BTW ichwar I omitted the HTML part deliberately.
    Ok, that's fine, but you still forgot the ; at the end of your command.

    Binary:
    01001000011001010110110001101100011011110010000001 0101110110111101110010011011000110010000100001

    Hex:
    48656C6C6F20576F726C642100

    Octal:
    110145154154157040127157162154144041

  10. #10
    zen-r's Avatar
    zen-r is offline Lord Of The Keys zen-r is an unknown quantity at this point
    Join Date
    Aug 2008
    Location
    Location,Location. Nothing else matters ....apparently.
    Posts
    1,937

    Re: Hello World!

    Quote Originally Posted by ichwar View Post
    Ok, that's fine, but you still forgot the ; at the end of your command.

    Binary:
    01001000011001010110110001101100011011110010000001 0101110110111101110010011011000110010000100001

    Hex:
    48656C6C6F20576F726C642100

    Octal:
    110145154154157040127157162154144041
    How?

    Are you saying that if these were converted to ASCII code, then they would read "Hello, World"?

    Edit : Just tested it, & yes, you are saying that.

    But it's not quite the same thing now, is it?!! Naughty.
    Last edited by zen-r; 06-23-2009 at 01:06 PM.
    For great installation & servicing of Audio Visual systems & equipment
    inc. LCD & Plasma Screens, Loudspeakers, Projectors, Aerials & Satellite Dishes, Lighting effects & controllers, Hifi, Amplifiers, Surround Sound, Home Cinema & Video etc
    -: based around Plymouth, Devon, or anywhere in the southwest of the UK, visit :-

+ Reply to Thread
Page 1 of 6 123 ... LastLast

Similar Threads

  1. Chain mail "For guiness world records"
    By callumacrae in forum Off Topic
    Replies: 4
    Last Post: 11-14-2008, 05:37 AM
  2. The World Second Best Terrorist Group
    By Chirantha in forum Off Topic
    Replies: 11
    Last Post: 11-17-2007, 11:20 PM
  3. Debate: Islam vs The World
    By Jakob in forum Crossfire
    Replies: 20
    Last Post: 10-10-2007, 01:48 PM
  4. mWW (My Windows World)
    By bigguy in forum Scripts & 3rd Party Apps
    Replies: 11
    Last Post: 04-03-2006, 06:39 PM
  5. 95-year-old dashes to world best
    By Skyline4life in forum Off Topic
    Replies: 2
    Last Post: 06-21-2005, 09:46 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers