Jump to content


Check out our Community Blogs

Register and join over 40,000 other developers!


Recent Status Updates

View All Updates

Photo
- - - - -

100 ways to print out "Hello CodeCall"


  • Please log in to reply
158 replies to this topic

#133 Turk4n

Turk4n

    ???

  • Expert Member
  • PipPipPipPipPipPipPip
  • 1919 posts
  • Location:Sweden
  • Programming Language:C, Java, PHP, Python, Bash
  • Learning:C++, C#, JavaScript, Visual Basic .NET, Others

Posted 25 October 2009 - 11:54 AM

#96

Pascal if no one has done it....
Program HelloCodeCall(output);
begin
  writeln('Hello, CodeCall!')
end.

  • 0

#134 dargueta

dargueta

    I chown trolls.

  • Moderator
  • 4854 posts
  • Programming Language:C, Java, C++, PHP, Python, JavaScript, Perl, Assembly, Bash, Others
  • Learning:Objective-C

Posted 25 October 2009 - 11:57 AM

@Zeke: See, this is what happens when all the real languages are used up. Then we resort to looking up stuff and copying and pasting because we don't know the language and then people like you call us out on it and...I fail. Sad.

#97 P3L
import conio;

int main(string args[])
{
    print("Hello, Codecall!\n");
    return 0;
}

  • 0

sudo rm -rf / && echo $'Sanitize your inputs!'


#135 Turk4n

Turk4n

    ???

  • Expert Member
  • PipPipPipPipPipPipPip
  • 1919 posts
  • Location:Sweden
  • Programming Language:C, Java, PHP, Python, Bash
  • Learning:C++, C#, JavaScript, Visual Basic .NET, Others

Posted 25 October 2009 - 11:59 AM

#98
Perl if no one has done it...
say 'Hello CodeCall!'

  • 0

#136 dargueta

dargueta

    I chown trolls.

  • Moderator
  • 4854 posts
  • Programming Language:C, Java, C++, PHP, Python, JavaScript, Perl, Assembly, Bash, Others
  • Learning:Objective-C

Posted 25 October 2009 - 12:01 PM

#99 Perl
print <<EOM;
Hello, CodeCall!
EOM

  • 0

sudo rm -rf / && echo $'Sanitize your inputs!'


#137 Guest

Guest

    CC Devotee

  • Expert Member
  • PipPipPipPipPipPip
  • 914 posts
  • Programming Language:C

Posted 25 October 2009 - 12:08 PM

Hello World in Malbolge, because it is virtually impossible to code anything else with it:
('&%:9]!~}|z2Vxwv-,POqponl$Hjig%eB@@>}=<M:9wv6WsU2T|nm-,jcL(I&%$#"
 `CB]V?Tx<uVtT`Rpo3NlF.Jh++FdbCBA@?]!~|4XzyTT43Qsqq(Lnmkj"Fhg${z@>

  • 0
Root Beer == System Administrator's Beer
Download the new operating system programming kit! (some assembly required)

#138 dargueta

dargueta

    I chown trolls.

  • Moderator
  • 4854 posts
  • Programming Language:C, Java, C++, PHP, Python, JavaScript, Perl, Assembly, Bash, Others
  • Learning:Objective-C

Posted 25 October 2009 - 12:10 PM

Doesn't count. That says "Hello, World!". And you copied-pasted it from Wikipedia, like me. :D
  • 0

sudo rm -rf / && echo $'Sanitize your inputs!'


#139 ZekeDragon

ZekeDragon

    CC Leader

  • Retired Mod
  • PipPipPipPipPipPipPip
  • 1263 posts

Posted 25 October 2009 - 12:11 PM

Oh man, I was about to let Guest win this one if he wrote Hello Codecall! in Malbolge. Must. Finish. Shakespeare!
  • 0
If you enjoy reading this discussion and are thinking about commenting, why not click here to register and start participating in under a minute?

#140 Turk4n

Turk4n

    ???

  • Expert Member
  • PipPipPipPipPipPipPip
  • 1919 posts
  • Location:Sweden
  • Programming Language:C, Java, PHP, Python, Bash
  • Learning:C++, C#, JavaScript, Visual Basic .NET, Others

Posted 25 October 2009 - 12:14 PM

#100 Malbolge

('&%:9]!~}|z2Vxwv-,POqponl$Hjig%eB@@>}=<M:9wv6WsU2T|nm-,jcL(I&%$#"
 `CB]V?Tx<uVtT`Rpo3NlF.Jh++FdbCBA@?]!~|4XzyTT43Qsqq(Lnmkj"Fhg${z@>


NOT LEGIT !

Guest, how could you :crying:
  • 0

#141 dargueta

dargueta

    I chown trolls.

  • Moderator
  • 4854 posts
  • Programming Language:C, Java, C++, PHP, Python, JavaScript, Perl, Assembly, Bash, Others
  • Learning:Objective-C

Posted 25 October 2009 - 12:17 PM

#100 Little Man Computer

DAT 1
DAT 'H'
DAT 'e'
DAT 'l'
DAT 'l'
DAT 'o'
DAT ','
DAT ' '
DAT 'C'
DAT 'o'
DAT 'd'
DAT 'e'
DAT 'C'
DAT 'a'
DAT 'l'
DAT 'l'
DAT '!'
DAT 16
LDA 17
BRZ 26
LDA 0
SUB 17
ADD 23
LDA 1
OUTPUT
BRA 18
HLT

Edited by dargueta, 25 October 2009 - 12:21 PM.
Fixed bug

  • 0

sudo rm -rf / && echo $'Sanitize your inputs!'


#142 Guest

Guest

    CC Devotee

  • Expert Member
  • PipPipPipPipPipPip
  • 914 posts
  • Programming Language:C

Posted 25 October 2009 - 12:27 PM

I thought the code was legit, I copied it from asafe's post. I had assumed a while back that he had figured Malbolge out. I never even checked to see if asafe copied it. It seems there is no real way to write Malbolge code. It is more cryptography than programming.
  • 0
Root Beer == System Administrator's Beer
Download the new operating system programming kit! (some assembly required)

#143 dargueta

dargueta

    I chown trolls.

  • Moderator
  • 4854 posts
  • Programming Language:C, Java, C++, PHP, Python, JavaScript, Perl, Assembly, Bash, Others
  • Learning:Objective-C

Posted 25 October 2009 - 12:31 PM

I definitely agree with you there.
  • 0

sudo rm -rf / && echo $'Sanitize your inputs!'


#144 Guest

Guest

    CC Devotee

  • Expert Member
  • PipPipPipPipPipPip
  • 914 posts
  • Programming Language:C

Posted 25 October 2009 - 12:36 PM

I guess we have reached the goal, but can we keep going? I want to go as far as possible. Maybe one of these days I will figure out Malbolge and post a Hello CodeCall for it here.
  • 0
Root Beer == System Administrator's Beer
Download the new operating system programming kit! (some assembly required)




Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download