Hacking around

To make life easier

Hello World without hello world

,

So a little programming task for all of you who like to solve problems. Write a program that prints out "hello world" (without quotes) without using "h", "e", "l", "o", "w", "r" or "d" in the code at all, not in strings nor in variable, function or command names or any reserved words. Let's see how many different solutions in different programming languages we can get.

Post your solutions in comments and make sure to also mention which programming language it is written in.

Regshx - Registry editing shell toolFood for the coder - director's cut

Comments

Joonas Lehtolahtigodjonez Friday, April 17, 2009 3:33:25 PM

Here's one in C (not completely valid, but for example GCC will compile it with some warnings and it works):

int main() {
    int c[] = {0x6c6c6568, 0x6f77206f, 0x646c72};
    puts(c);
}

Anonymous Monday, April 20, 2009 7:07:07 PM

-luXus writes: You could use brainfuck ;-) : ++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.

Anonymous Wednesday, July 8, 2009 1:45:21 AM

hhh3h writes: No fair. You can't do it in VB.NET at all, mostly because of "e" End If | End Sub | End Class | etc

Anonymous Wednesday, July 8, 2009 1:53:07 AM

hhh3h writes: Wait: Print(LCasE("HELLO WORLD")) Case insensitivity for the win? (VB.NET)

Anonymous Wednesday, July 8, 2009 2:02:23 AM

hhh3h writes: Ok well, if you don't accept upper case either, how about this (also VB.NET). Print(ChrW(104) & ChrW(101) & ChrW(108) & ChrW(108) & ChrW(111) & " " & ChrW(119) & ChrW(111) & ChrW(114) & ChrW(108) & ChrW(100)) If you are just accepting one single line. If it has to be a full program, it is not possible in VB.NET because it would have to go inside this: Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click 'The line End Sub End Class

How to use Quote function:

  1. Select some text
  2. Click on the Quote link

Write a comment

Comment
(BBcode and HTML is turned off for anonymous user comments.)

If you can't read the words, press the small reload icon.


Smilies