Tremulous Forum
Community => Off Topic => Topic started by: KillerWhale on October 28, 2009, 05:19:59 pm
-
#include <stdio.h>
int main()
{
printf( "Hello world, you should start posting 'hello world's in every language and in any method you can!\n" );
getchar();
return 0;
}
-
HAI
CAN HAS STDIO?
VISIBLE "HAI WORLD!"
KTHXBYE
-
public class HelloWorld
{
public static void main(String args[])
{
System.out.println("Hello World");
}
}
-
(21646c726f77202c6f6c6c6548
===========================
O F
c
=
-
0100100001100101011011000110110001101111001000000 101011101101111011100100110110001100100
-
^Nice demo, way to use a binary translator(Which, btw, isn't very good binary)
-
.file "hw.c"
.section .rodata
.LC0:
.string "Hello World!"
.text
.globl main
.type main, @function
main:
.LFB2:
pushq %rbp
.LCFI0:
movq %rsp, %rbp
.LCFI1:
movl $.LC0, %edi
call puts
movl $0, %eax
leave
ret
.LFE2:
.size main, .-main
.section .eh_frame,"a",@progbits
.Lframe1:
.long .LECIE1-.LSCIE1
.LSCIE1:
.long 0x0
.byte 0x1
.string "zR"
.uleb128 0x1
.sleb128 -8
.byte 0x10
.uleb128 0x1
.byte 0x3
.byte 0xc
.uleb128 0x7
.uleb128 0x8
.byte 0x90
.uleb128 0x1
.align 8
.LECIE1:
.LSFDE1:
.long .LEFDE1-.LASFDE1
.LASFDE1:
.long .LASFDE1-.Lframe1
.long .LFB2
.long .LFE2-.LFB2
.uleb128 0x0
.byte 0x4
.long .LCFI0-.LFB2
.byte 0xe
.uleb128 0x10
.byte 0x86
.uleb128 0x2
.byte 0x4
.long .LCFI1-.LCFI0
.byte 0xd
.uleb128 0x6
.align 8
.LEFDE1:
.ident "CC: (HR) 6.4.2 20081105 (Haos Redro 6.4.2-7)"
.section .note.HR-stack,"",@progbits
-
++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.
-
put "Hello World!"
-
-module(hw).
-export([helloworld/0]).
hello_world() ->
io:format("Hello, World!~n").
-
default
{
state_entry()
{
llSay(0, "Hello World");
}
}
.... . .-.. .-.. --- / .-- --- .-. .-.. -..
Uryyb Jbeyq
Hola Mundo
(LSL)
(Morse Code)
(Rot13)
(Spanish)
-
Import hello
-
העלא וועלט
LZYRBMWPXW <-- Bonus points if you can tell me what I used.
P.S. What's wrong with my binary? :s
-
Personally, I really liked your binary. <3
-
#!/bin/bash
echo "Hello, world"
exit 0
#!/bin/tcsh
echo "Use a real shell."
exit 255
-
Hello World
-
Hello World
One hell of a coding language. :>
-
It is written in /bin/cat.
-
Hello World
One hell of a coding language. :>
Well the op did say that we should post it in any language we can so I posted it in English. ;D
-
(http://www.signpuddle.net/mediawiki/images/5/54/Hello_world.png)
0080 1ce0 f8d4 f8ec 8746 f8ea f8fe 0080 32ea f89e f914 32e1 f897 f8fb 5ec0 f8b1 f901 b3b4 f8a9 f8e5 ec20
<sign lane="0">
<sym x="85" y="109">01-05-001-01-03-01</sym>
<sym x="107" y="127">02-05-006-01-01-07</sym>
</sign>
<sign lane="0">
<sym x="31" y="149">01-06-002-01-01-11</sym>
<sym x="24" y="124">01-06-002-01-01-02</sym>
<sym x="50" y="130">02-01-001-01-01-01</sym>
<sym x="42" y="102">02-10-003-01-04-05</sym>
</sign>
<punc>06-01-001-02-01-01</punc>
7392,85,109,34630,107,127
13034,31,149,13025,24,124,24256,50,130,46004,42,102
60448
f1 80 82 80 f1 81 b3 a0 f1 8f a3 94 f1 8f a3 ac f1 88 9d 86 f1 8f a3 aa f1 8f a3 be f1 80 82 80 f1 83 8b aa f1 8f a2 9e f1 8f a4 94 f1 83 8b a1 f1 8f a2 97 f1 8f a3 bb f1 85 bb 80 f1 8f a2 b1 f1 8f a4 81 f1 8b 8e b4 f1 8f a2 a9 f1 8f a3 a5 f1 8e b0 a0
http://www.signpuddle.net/mediawiki/index.php/Hello_world
-
import java.awt.*;
import java.applet.*;
public class HelloWorldv2 extends Applet {
public void paint(Graphics g)
{
g.drawString(" d ",20,20);
g.drawString(" e l ",20,40);
g.drawString(" l r ",20,60);
g.drawString(" l o ",20,80);
g.drawString(" e W ",20,100);
g.drawString(" H ",20,120);
g.drawString(" xxxxxxxxxxxxxxxxxxxxxxxx ",20,140);
g.drawString(" x x x ",20,160);
g.drawString(" x Java x x ",20,180);
g.drawString(" x is HOT! xxxx ",20,200);
g.drawString(" x x ",20,220);
g.drawString(" x x ",20,240);
g.drawString(" xxxxxxxxxxxxxxxxxxxx ",20,260);
}
}
-
.... . .-.. .-.. --- / .-- --- .-. .-.. -..
-
print "Hello world on Python is pretty easy :<"
-
lul i r say talkz hello wurld
What? You never said 'Coding' Language.
-
(http://farm1.static.flickr.com/194/472097903_b781a0f4f8.jpg)
-
print "Hello world on Python is pretty easy :<"
I allready did python. ;)
-
#include <stdio.h>
int void main()
{
printf("H W/nE O/nL R/nL L/nO D");
break;
}
-
#include <stdio.h>
int void main()
{
printf("H W/nE O/nL R/nL L/nO D");
break;
}
yo i herd you like failing so you put a fail in your fail so you can fail while you fail.
-
yo i herd you like failing so you put-
Kevlar, I'm really happy for you and Imma let you finish and all but kanye had one of the best memes ever. EVER!
-
dec ax
gs insb
insb
outsw
and [bx+0x6f],dh
db 0x72
db 0x6C
db 0x64
-
#!/bin/bash
echo "Hello, world"
exit 0
Aww, I was going to use bash :(
Oh well, FoxProx, works fine..
print "Hello World"
end
-
Disp "HELLO WORLD"
OWNED TI-BASIC!
-
main = putStrLn "Hello World"
-
main = putStrLn.unwords$["Hello","World"]
-
hell = require('helloWorld')
if hell =~ nil then hell.run()
else print('Hello World')
end
-
#include <iostream.h>
void main()
{
cout << "Hello, world!";
}
-
STOP ABUSING THE BIT SHIFT OPERATOR >:(
-
#include <iostream>
int main() {
std::cout << "Hello, world!\n";
}
Fixed
-
Mine is C++, and it works.
(And your version fails btw, no return statement)
-
Meh, it works either way.
(And your version fails btw, no return statement)
No.
http://www2.research.att.com/~bs/bs_faq2.html
http://www2.research.att.com/~bs/bs_faq2.html#void-main
"In C++, main() need not contain an explicit return statement. In that case, the value returned is 0, meaning successful execution."
This also includes reasons as to why your version is not good.
There's some reading for you. :)
Btw, your version doesn't compile with g++ -ansi -pedantic -Wall
-
whatever.
It worked for me, and thats what I was taught.
-
Worked in which programming environment?
-
C++
Couldn't tell you what program off the top of my head....
-
C++
Dude, I obviously know it's C++...
someone use a Visual Basic GUI to track the IP
-
Scratch that, wrong problem.
-
C++
Dude, I obviously know it's C++...
someone use a Visual Basic GUI to track the IP
imsrybrobutitsnotsoobvious
-
#include <iostream>
int main() {
std::cout << "Hello, world!" << std::endl;
return 0;
}
Fixed
Dunno if fixed or correct but that is what I'd do
( Also using std::endl instead of '\\n' makes you look cooler :P )
-
Hallo verden.