哈啰,世界!
Hi, hi... welcome to my pages.
First of all i want to say
"Hello, world, welcome to my pages."
Every time learn a new language, first program, "Hello World"
Why hmm... ?
The micom have a very dull world, it only have "1" and "0". Nothing much.
Really dull.
That why you want the micom greet our colorful, wonderful and tremendous world,
make it to greet our real analog word, say hello..., greet the sun, the sea, the moon, the rainbow, the forest,
the life, the building, the terrorist, the H5N1, the corona, the global warming, the financial crisis, the melamine...
(这是甚麽世界?!)
Don't u agree it is WONDERFUL ?!
Pascal
Program HelloWorld;
Begin
Writeln ('Hello World!');
End.
C
#include <stdio.h>
int main(void)
{
printf("Hello World\n");
return 0;
}
C++
#include <iostream.h>
int main(void)
{
cout << "Hello World" << endl;
return 0;
}
Java
import java.lang.*;
class helloWorld
{
public static void main(String args[])
{
system.out.println("Hello World");
}
}
bat (batch)
rem batch programming
@echo Hello world
Bash
#!/bin/bash
echo "Hello world"
Javascript
<script type="text/javascript" language="javascript">
window.onload = function() {
var obj = document.body;
obj.innerHTML = "Hello World!";
}
</script>
PHP
<?php
echo 'Hello, world!';
exit;
?>
Take a look at "Hello world of different programming languages"
Oh god! Ya! alla,
See how tiny am I, I only know 8 languages out of 123 languages...