rendered paste bodyEnglish: Hello!
French: Bonjour!
Kittyish: Meow!
C:
#include <stdio.h>
int main(int argc, char *argv[])
{
printf("Hello!");
return 0;
}
C++:
#include <iostream>
using namespace std;
int main(int argc, char *argv[])
{
cout << "Hello!" << endl;
return 0;
}
PHP:
<?php
echo 'Hello!';
?>
Python:
def main():
print 'Hello!'
if __name__ == '__main__':
main()
sh/bash (nearly the same thing):
echo Hello!
Batch file:
@ECHO Hello!
Visual Basic:
Private Sub Form_Load()
MsgBox "Hello!"
End Sub
QBasic:
PRINT "Hello!"
TI-83 and TI-84 BASIC:
Disp "HELLO!"
Assembly (Intel style - there's also an AT&T style which I don't completely understand):
mov byte [0xB8000], 'H'
mov byte [0xB8001], 0x07
mov byte [0xB8002], 'e'
mov byte [0xB8003], 0x07
mov byte [0xB8004], 'l'
mov byte [0xB8005], 0x07
mov byte [0xB8006], 'l'
mov byte [0xB8007], 0x07
mov byte [0xB8008], 'o'
mov byte [0xB8009], 0x07
mov byte [0xB800A], '!'
mov byte [0xB800B], 0x07
HTML:
<html>
<head>
<title>Useless page to demonstrate HTML</title>
</head>
<body>
Hello!
</body>
</html>
XML:
<?xml version="1.0" ?>
<!DOCTYPE asdf SYSTEM "asdf.dtd">
<asdf>
Hello!
</asdf>
D:
void main()
{
writefln("Hello!");
}
=====================================================================
2 human languages, 1 animal language, 13 programming languages, total 16 languages.