How to write Hello World in a variety of programming languages

Source: Internet
Author: User
I'm going to get a PHP first.

                                                     

This issue has been closed due to:

Reply content:

I'm going to get a PHP first.

                                                                  

to a CSS.

*:before,*:after {content: ' Hello word '}

Fortran:
-------------------------------------------------

Program main    Write (unit = *, FMT = *) "Hello, world!"    Stopend Program Main

=================================================

Brainfuck of crosses:
-------------------------------------------------

++++++++++[> +++++++> ++++++++++> + + < < <-]> ++.> +.+++++++. +++.> + +. < <+++++++++++++++.> + + +------.--------. > +.

Ruby:

Puts "Hello World"

Here's a python.

#!/usr/bin/env pythonprint ("Hello World")

I'm going to have a LUA.

--Hello World from Luaio.write ("Hello World")

I'm going to get a java.

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

I'm going to have a Haskell version.

Module main where main:: IO () main = putStrLn "Hello, world!"

is the shell a language, too?

printf "Hello World"

To an as, the person who is now asking-. -

Trace ("Hello World")

All the gods don't write C. Then I caught dead. -

#include 
 
    
     
  int main () {    printf ("Hello, world!");    return 0;}
 
    

Lisp:

(Defun hello ()  "Hello World")

Small Talk:

Transcript Show: ' Hello, world! '.

Javascript:

document.write ("Hello, world!");

Erlang:

Io:format ("Hello, World~n").

Perl:

Print "Hello, world.\n";

I contacted the first language Pascal:

Program Bonjour;begin    writeln (' Bonjour le Monde '); end.

Asp:

<% Response.Write "Hello World"%>

Bash:

#!/bin/bashecho ' Hello world! '

Prolog:

Write (' Hello world! '), NL.

BASIC:

PRINT "Hello World"

SQL Math?

Select "Hello world!"

Here's a whole.

Https://github.com/leachim6/hello-wor ...

An antique-grade, Batch.

@echo Hello world! @echo Offpause

C-intercal

Please do, 1 <-#13DO, 1 sub #1 <-#238DO, 1 sub #2 <-#112DO, 1 sub #3 <-#112DO, 1 sub #4 <-#0DO, 1 Sub #5 <-#64DO, 1 sub #6 <-#238DO, 1 sub #7 <-#26DO, 1 sub #8 <-#248PLEASE do, 1 sub #9 <-#168DO, 1 sub #1 0 <-#24DO, 1 sub #11 <-#16DO, 1 sub #12 <-#158DO, 1 sub #13 <-#52PLEASE READ out, 1PLEASE GIVE up

GO Language

Package Mainimport "FMT" Func Main () {    fmt. Println ("Hello world!")}

Gas

. section. Datastr:.ascii "Hello world!". Section. Text.global _start_start:    movl  $4,%eax    movl $  ,%ebx    movl  $str,%ecx    MOVL  %edx    int   $0x80 MOVL $    ,  %eax movl $  ,%ebx    int   $0x80

Apple Script

Display dialog "Hello World"

Continue the antique class, Shell

Echo Hello world!

... C # either

Using System;public class helloworld{public   static void Main ()   {      Console.WriteLine ("Hello world!");   }}

Scala

Object HelloWorld extends Application {  println ("Hello World")}

Hey, I'm adding a dos bat.

echo Hello world!

I'm going to get a AutoIt 3 code, okay?

MsgBox (0, "Dialog", "Hello world!")

Wrote the OBJC of the N-year
Objective C
NSLog (@ "Hello,world");

13 of the most ridiculous programming languages
http://sd.csdn.net/a/20110411/295610 ....
Lolcode
"Hello World" Example:
HAI
CAN have STDIO?
VISIBLE "HAI world!"
Kthxbye
Befunge
"Hello World" Example:
"Dlrow Olleh" >:v
^,_@
Brainfuck
"Hello World" Example:
++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++
.. +++.>++.<<+++++++++++++++.>.+++.------.--------. >+.>.
And more of the parody language.
http://sd.csdn.net/a/20110411/295610 ....

Matlab:

Disp (' Hello, world! ')

Hello Word

PHP's.

Scheme

(Display "Hello World")

System.out.println("Hello World");

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.