0

lolpython

I FUTURE CAT WITH print_function
SO IM LIKE main OK?
    VISIBLE LOL Hello world /LOL
IZ __name__ KINDA LIKE "__main__"?
    main THINGZ

Edited by james.lu.75491856

10
Contributors
14
Replies
96
Views
4 Years
Discussion Span
Last Post by avishek12345
0

I don't get what this is.. but...
PHP:

<?
echo 'Hello, world!';
?>

C:

#include <stdio.h>

int main() {
    printf("Hello, World!");
    return 0;
}

C++:

#include <iostream>

int main() {
    cout << "Hello, world!" << "\n";
    return 0;
}

Java:

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

C#:

public class HelloWorld {
   public static void Main() {
      System.Console.WriteLine("Hello World!");
   }
}
0

Not programming languages, but thought I might contribute.

JavaScript:

alert("Hello, World!");

Bash

echo "Hello, World!"

Edited by Octet

0

Matlab / Octave:

disp('Hello World!');

Pascal / Free-Pascal / Object-Pascal (Delphi):

program HelloWorld;

begin
  writeln('Hello World');
end.

Fortran:

program hello
   print *, "Hello World!"
end program hello

Also, see this wiki listing.

0

More,
Perl:

#!/usr/bin/perl

print "Hello, World!\n";

Python:

#!/usr/bin/python
print "Hello, World!\n"
1

Do you use GO at all? It looks interesting but I'm not really sure what it's for.
Ruby:

puts "Hello, world!"

Edited by NardCake

Votes + Comments
At the moment I'm just studing it, I'm considering GO for some backend jobs in web applications...
0

DOS

echo hello world

VB6

Print "Hello World"

VB.Net

Console.WriteLine("Hello World")

Edited by rishif2

0

D programming language (Recently became interested in and loving it)

import std.stdio;

void main()
{
    writeln("Hello, world!");
}
0

how about you guys just type Hello and see what errors you get :)

or do this

//hello

0

If every one use one platform then it will be much easier for all to guess and manipulate but too much programs confuse even the tough and experts also.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.