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

#1 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 13 February 2009 - 01:07 PM

Hey everyone in CodeCall !

Long time members, new commoners welcome to another CodeCall programming game !

To participate in the game you will need to write a program that will print out following, "Hello CodeCall"*, the goal with the game is to reach 100 ways to print out the message...*

So...

Rules
#1 - Always before pasting in the code, type in "Number #X", X is the increasing number of how many ways we can do it...
#2 - Try not to do the same code over and over, avoid to do an identically code which someone else has posted
#3 - double post, triple post or quad and etc...
#4 - Any programming language is welcome, however try to avoid using markup languages,you 'CAN' do it if we are losing...
#5 - DO not post spam or garbage message !

So GLHF !

First to contribute !
Number #1
public class HelloCodeCall {
public static void main(String[] arg) {
System.out.println("Hello CodeCall");
  }
}

Edited by Turk4n, 13 February 2009 - 01:12 PM.
Spelling...

  • 1

#2 John

John

    CC Mentor

  • Moderator
  • 4450 posts
  • Location:New York, NY

Posted 13 February 2009 - 01:28 PM

#2
<?php
echo "Hello CodeCall";
?>

  • 0

#3 mendim.

mendim.

    CC Devotee

  • Just Joined
  • PipPipPipPipPipPip
  • 741 posts

Posted 13 February 2009 - 01:50 PM

#3

VB Code:

      Private Sub Command1_Click()
  
       MsgBox "Hello, World!"
 
      End Sub

  • 0

#4 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 13 February 2009 - 01:55 PM

#4

Python
print "Hello CodeCall!"

Edited by Turk4n, 13 February 2009 - 01:56 PM.
Typo

  • 0

#5 amrosama

amrosama

    CC Mentor

  • VIP Member
  • PipPipPipPipPipPipPipPip
  • 2765 posts

Posted 13 February 2009 - 09:24 PM

#5
JS
alert('hello codecall!');

  • 0
yo homie i heard you like one-line codes so i put a one line code that evals a decrypted one line code that prints "i love one line codes"
eval(base64_decode("cHJpbnQgJ2kgbG92ZSBvbmUtbGluZSBjb2Rlcyc7"));
www.amrosama.com | the unholy methods of javascript

#6 WingedPanther73

WingedPanther73

    A spammer's worst nightmare

  • Moderator
  • 17757 posts
  • Location:Upstate, South Carolina
  • Programming Language:C, C++, PL/SQL, Delphi/Object Pascal, Pascal, Transact-SQL, Others
  • Learning:Java, C#, PHP, JavaScript, Lisp, Fortran, Haskell, Others

Posted 14 February 2009 - 07:58 AM

#6
C++
#include <iostream>

int main()
{
  std::cout<<"Hello CodeCall!\n";
  return 0;
}

Edited by WingedPanther, 14 February 2009 - 08:39 AM.
note the number

  • 0

Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

My MineCraft server site: http://banishedwings.enjin.com/


#7 nullbyte

nullbyte

    CC Addict

  • Just Joined
  • PipPipPipPipPip
  • 199 posts

Posted 14 February 2009 - 08:58 AM

#7

Haskell
[COLOR=#000099]module[/COLOR] Main [COLOR=#000099]where[/COLOR]
 
main = [COLOR=#000099]do[/COLOR] [URL="http://haskell.org/ghc/docs/latest/html/libraries/base/Prelude.html#v:putStr"][COLOR=#006600]putStr[/COLOR][/URL] [COLOR=#003300]"Hello Codecall\n"[/COLOR]

          [URL="http://haskell.org/ghc/docs/latest/html/libraries/base/Prelude.html#v:return"][COLOR=#006600]return[/COLOR][/URL] [COLOR=black]([/COLOR][COLOR=black])
[/COLOR]
  • 0

#8 Xav

Xav

    CC Mentor

  • VIP Member
  • PipPipPipPipPipPipPipPip
  • 8356 posts

Posted 14 February 2009 - 10:42 AM

#8

C#
Console.WriteLine("Hello CodeCall");

  • 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?

#9 Xav

Xav

    CC Mentor

  • VIP Member
  • PipPipPipPipPipPipPipPip
  • 8356 posts

Posted 14 February 2009 - 10:44 AM

alert('hello codecall!');

This code is technically not printing it, it is displaying it in a messagebox. Document.write() would be a better choice. :)
  • 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?

#10 amrosama

amrosama

    CC Mentor

  • VIP Member
  • PipPipPipPipPipPipPipPip
  • 2765 posts

Posted 14 February 2009 - 08:13 PM

**** you are so pickyPosted via CodeCall Mobile
  • 0

#11 Guest_Jordan_*

Guest_Jordan_*
  • Guest

Posted 15 February 2009 - 06:06 AM

#9 - PHP


echo "CodeCall";

  • 0

#12 Xav

Xav

    CC Mentor

  • VIP Member
  • PipPipPipPipPipPipPipPip
  • 8356 posts

Posted 15 February 2009 - 08:23 AM

**** you are so pickyPosted via CodeCall Mobile

I'm just trying to help you to be a better member. :)

#9 - PHP


echo "CodeCall";


Hate to break this to you, but 18.675 hours ago John posted the PHP one at #2. -rep
  • 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?




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