The first program that every developer in computer science needs to know is the emblematic “Hello world”. This program only return’s a String with “Hello World".
Then I will show you, the different “Hello World’s” that I already learned:
Haskell
olamundo :: IO()
olamundo = putStr "Hello World"
Java
public class Hello {
public static void main(String[] args) {
System.out.println("Hello World!");
}
}
Mips
hello_msg: .asciiz "Hello World!\n";
.text
main:
la $a0, hello_msg
li $v0, 4
syscall
li $v0, 10
syscall
C
#include
main(){
printf ("Hello World!\n");
}
Prolog
hello_world :- write('Hello World!').
Pascal
Program Hello World;
Uses crt;
Begin
Writeln('Hello World!');
End.
Visual Basic
MsgBox("Hello World!")
Welcome
My name is Cindy Silva, I'm a student in Informatics Engineering at Universidade de Évora, Portugal, but rigth now I'm in Italy as an erasmus Student. My hobbies are reading, see Tv Shows and listening music. I started this blog because I want to share with everyone what I have learn.
Hope you enjoy.
Regards
Cindy Silva
Hope you enjoy.
Regards
Cindy Silva
Blog Archive
Blogroll
Labels
- 3d (2)
- android (1)
- apple (1)
- birthday (1)
- blu-ray (1)
- C (1)
- cd (1)
- chrome OS (1)
- codeplex (1)
- copyrigths (1)
- data (1)
- dvd (1)
- europe (1)
- facebook (4)
- farmville (1)
- fear (1)
- flights (1)
- floppy disk (1)
- free (1)
- google (4)
- graphics cards (1)
- hacker (1)
- haskell (1)
- history (8)
- holland (1)
- hologram (1)
- ibm (1)
- intel (2)
- internet (2)
- iphone (2)
- ipod (2)
- java (1)
- job (1)
- jogos (1)
- linux (3)
- m (1)
- magazine (1)
- microsoft (8)
- Mips (1)
- motorola (1)
- mouse (1)
- mozilla (2)
- openoffice (1)
- opensource (3)
- Palm (1)
- Pascal (1)
- photos (1)
- pigeon (1)
- pirate Bay (2)
- playstation (1)
- PowerPoint (1)
- privacy (2)
- processor (1)
- programming (1)
- Prolog (1)
- ps3 (1)
- smoking (1)
- tcp (1)
- Telkom (1)
- transfer (1)
- ubunto (1)
- video (1)
- virus (1)
- Visual Basic (1)
- water (1)
- wedding (1)
- windows 7 (6)
- wine (1)
- youtube (2)
BlogCatalog
Postado por
Cindy
2009-07-18
Assinar:
Postar comentários (Atom)