x32x01

ADMINISTRATOR
If you are already an experienced programmer interested in learning programming languages, you may want to read this article quickly and take note of Hello World examples. In spite of the complexity involved in covering all of the disciplines into which computers have crept,the basic computer is still relatively simple in principle.
Programming a computer is very different from creating a program, as the word applies to people in real life. In real life, we ask people to do things, and sometimes we have to struggle mightily to ensure that our wishes are carried out.

hello_world_programming.jpg

Python
Python:
print “Hello, World!”

C++
C++:
#include
int main()
{
std::cout << “Hello, World!”;
return 0;
}

PHP
PHP:
<?php
echo “Hello, World!”;
?>

Swift
Swift:
println(“Hello, World!”)

VBscript
Code:
MsgBox “Hello, World!”

Ruby
Ruby:
puts “Hello, World!”

R
Code:
cat(‘Hello, World!’)

Perl5
Perl:
print “Hello, World!“;

Pascal
Code:
program HelloWorld;
begin
WriteLn(‘Hello, World!);
end.

Objective-C
Objective-C:
#import
int main(void)
{
NSLog(@”Hello, World!”);
return 0;
}

MATLAB
Code:
disp(‘Hello, World!’)

Julia
Code:
println(“Hello, World”)

jQuery
JavaScript:
$(‘body’).append(“Hello, World”);

JavaScript
JavaScript:
document.write(‘Hello, World!’);

CoffeeScript
Code:
console.log ‘Hello, World!’

C#
C#:
using System,
class Program
{
public static void Main(string[] args)
{
Console.WriteLine(“Hello, World!”);
}
}

C
C:
#include
int main(void)
{
puts(“Hello, World!”);
}

Bash
Bash:
echo “Hello, World!”
 
Top