Like Tree6Likes

Lets have a little competition

This is a discussion on Lets have a little competition within the General Discussions forums, part of the Community Boards category; Originally Posted by MK27 Cut n' paste #2: "name this language" challenge Code: +++++ +++++ initialize counter (cell #0) to ...

  1. #16
    Banned ಠ_ಠ's Avatar
    Join Date
    Mar 2009
    Posts
    687
    Quote Originally Posted by MK27 View Post
    Cut n' paste #2: "name this language" challenge

    Code:
    +++++ +++++             initialize counter (cell #0) to 10
    [                       use loop to set the next four cells to 70/100/30/10
        > +++++ ++              add  7 to cell #1
        > +++++ ++++++           add 11 to cell #2 
        > +++                   add  3 to cell #3
        > +                     add  1 to cell #4
        <<<< -                  decrement counter (cell #0)
    ]                   
    > ++ .                  print 'H'
    > + .                   print 'e'
    +++ ++ .              print 'l'
    .                       print 'l'
    +++ .                   print 'o'
    > ++ .                  print ' '
    << +++++ +++++ +++++ .  print 'W'
    > .                     print 'o'
    +++ .                   print 'r'
    ----- - .               print 'l'
    ----- --- .             print 'd'
    > + .                   print '!'
    > .                     print '\n'
    bonus points if you have a compiler for this "mystery" language and can find the typo(s)...
    I'm pretty sure there's a wordfilter that would prevent us from saying brain........
    ╔╗╔══╦╗
    ║║║╔╗║║
    ║╚╣╚╝║╚╗
    ╚═╩══╩═╝

  2. #17
    Password:
    Join Date
    Dec 2009
    Location
    NC
    Posts
    587

  3. #18
    spurious conceit MK27's Avatar
    Join Date
    Jul 2008
    Location
    segmentation fault
    Posts
    8,300
    Quote Originally Posted by ಠ_ಠ View Post
    I'm pretty sure there's a wordfilter that would prevent us from saying brain........
    Also, an url filter, lol. The initial name was actually mind........, but some ........ from the US NW had that patented.

    "........" itself is one of the original 7 FCC mindbrain patterns, and hence restricted as an exportable munition.
    Last edited by MK27; 04-26-2011 at 08:51 PM.
    C programming resources:
    GNU C Function and Macro Index -- glibc reference manual
    The C Book -- nice online learner guide
    Current ISO draft standard
    CCAN -- new CPAN like open source library repository
    3 (different) GNU debugger tutorials: #1 -- #2 -- #3
    cpwiki -- our wiki on sourceforge

  4. #19
    Banned
    Join Date
    Aug 2010
    Location
    Ontario Canada
    Posts
    9,547
    Quote Originally Posted by ಠ_ಠ View Post
    Wow, that's a really impressive runtime.

    Here's mine, written in Java https://sourforge.net/projects/helloworldga/files/
    Yes well, I took a look at your code... and there's a heck of alot more than "hello world" in there... what's with all the arrays and data gathering?
    ಠ_ಠ likes this.

  5. #20
    Master Apprentice phantomotap's Avatar
    Join Date
    Jan 2008
    Posts
    4,261
    Yes well, I took a look at your code... and there's a heck of alot more than "hello world" in there... what's with all the arrays and data gathering?
    OMG! All that opportunity wasted...

    If you are going to troll it, troll the .... out of it.

    How did you not setup a "Rick Roll"?

    http://trollcats.com/wp-content/uplo...t_trollcat.jpg

    Soma
    ಠ_ಠ likes this.

  6. #21
    Banned ಠ_ಠ's Avatar
    Join Date
    Mar 2009
    Posts
    687
    Quote Originally Posted by CommonTater View Post
    Yes well, I took a look at your code... and there's a heck of alot more than "hello world" in there... what's with all the arrays and data gathering?
    muahaha, you may have warned others but it's too late for you! Your SIN number is already in the hands of 42 Islamic extremest immigrants, the name and location of your children's school has been forwarded your local NANBLA chapter, all of the naked pictures of your wife that were stored within 5m of your computer have been sent to charities benefiting children's cancer, your complete browser history has been mailed to every member of a religious group within 50km of your current location, and your home page will be set to lemon party after you finish reading this message (try it)
    MK27 likes this.
    ╔╗╔══╦╗
    ║║║╔╗║║
    ║╚╣╚╝║╚╗
    ╚═╩══╩═╝

Page 2 of 2 FirstFirst 12
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Sorry, lets try again(C++ Help)
    By SNTRL in forum C++ Programming
    Replies: 6
    Last Post: 09-10-2010, 12:56 AM
  2. Case Competition Help !
    By kashahyah in forum C Programming
    Replies: 10
    Last Post: 04-10-2008, 10:19 AM
  3. Competition
    By siavoshkc in forum A Brief History of Cprogramming.com
    Replies: 9
    Last Post: 09-21-2006, 02:30 PM
  4. Competition?
    By Govtcheez in forum A Brief History of Cprogramming.com
    Replies: 40
    Last Post: 09-14-2001, 08:58 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21