New user? Join Xfire Lost password? Username Password
 
GODJonez
 
You think you can code?
2009-04-17 8:38 AM PDT
Prove it!

Write a program that prints out "hello world" without actually using any of those characters in the code.

Read more about it and user posted solutions here: Hello World without hello world

views: 485
Comments
- Sριηкѕтαя (spinkyo) 2009-05-10 6:22 AM PDT
Imports System.Drawing
Imports System.Drawing.Drawing2D
Imports System.Windows.Forms

Public Class Form1
Dim p As System.Drawing.Graphics
Dim pen As New System.Drawing.Pen(Color.MediumBlue, 5)

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
p = PictureBox1.CreateGraphics
p.DrawLine(pen, 0, 0, 0, 150)
p.DrawLine(pen, 0, 62, 60, 62)
End Sub

End Class

I give up <_< (VB.Net)
GODJonez (godjonez) 2009-05-10 2:05 PM PDT
LOL
Imoddedu (imoddedu) 2009-05-10 3:21 PM PDT
How is this possible?
GODJonez (godjonez) 2009-05-18 12:45 PM PDT
Did you see the link on the post to the actual thing?
SnapyGapi (snapygapi) 2009-05-18 2:47 PM PDT
written in c++, but it will stop working on Aug 11 2009 =D
Code:


#include <ctime>
#include <iostream>

int main(int argc, char* argcv[]){
int f[]={168826971,224134413,873926672};
for(int n=11; n>=0; n--)std::cout<<char(time(NULL)/10000000-*((char*)f+n));
std::cin.ignore(); //wait for enter
}
GODJonez (godjonez) 2009-05-19 4:25 PM PDT
Too bad that doesn't qualify, your code contains at least e, r and o in it.
FaNtA (xxxfanta) 2009-06-10 5:50 AM PDT
you forgot the "l" in include.
GODJonez (godjonez) 2009-06-12 1:59 PM PDT
d too. But that's why I said "at least".
100% METAL DEMON (ghostcc2) 2009-07-07 2:13 PM PDT
I looked at GODJonez cool blog post and thought about it

So instead how about writing the code in ASCII HTML?

It would look like: &#72;&#101;&#108;&#108;
&#111;&#32;&#87;&#111;&#114;&#108;&#100;

Which Translates as: Hello World

Then save it as a HTML file and open it.
last edited 2009-07-07 2:13 PM PDT, edited 1 time