Subscribe to this blog

Subscribe to full feed RSS
What the? RSS?!

Subscribe Via Email

We respect your privacy.

Second C Programming Challenge!

By Emily On December 27, 2010 Under Experiential learning

Create a “Hello World!” program without using a single semicolon.

Technorati Tags: , , , , , ,

25 Comments Add yours

  1. iliveforlink
    December 27, 2010
    10:47 pm

    So this uses a C programming bug? I wouldn’t have known there was a bug if I hadn’t looked in the comments…

  2. bebem321
    December 27, 2010
    11:06 pm

    ok i will just post it on your website because i dont know your email

  3. sherlock14holmes
    December 28, 2010
    12:00 am

    if (printf(“Hellow World!!!”) && getch()){}

  4. sherlock14holmes
    December 28, 2010
    12:37 am

    i think that i found it

  5. Shorty20122012
    December 28, 2010
    12:48 am

    loool @ this challenge.

  6. Shorty20122012
    December 28, 2010
    1:22 am

    I ended up doing it by adding a carriage return at the end of the third loop. Seemed to work. =[

  7. Shorty20122012
    December 28, 2010
    1:54 am

    I ended up doing it by adding a carriage return at the end of the third loop. Seemed to work. =[

  8. TheStickyNoteKing
    December 28, 2010
    2:03 am

    So as someone has already spoiled it, and since he seems to like while loops, here’s my one-liner:

    while (!printf(“Hello world!!!n”)){}

  9. SolvedSnake
    December 28, 2010
    2:40 am

    Easy. Especially since someone spoiled it in the comments >.>

  10. bharat1488
    December 28, 2010
    3:01 am

    #include”stdio.h”
    void main()
    {
    if(printf(“Hello world!!”))
    {}
    }

  11. Arkounay
    December 28, 2010
    3:34 am

    so what’s the answer ? :o

  12. FrozenIceCweam
    December 28, 2010
    4:28 am

    @lotios611 Or Python, or assembly or Brainfuck or…

  13. baronobeandip2007
    December 28, 2010
    4:39 am

    @FrozenIceCweam he could also use the ascii code or the UTF code. for it lol.

  14. tokeaz
    December 28, 2010
    4:59 am

    haven’t tested it, but perhaps something like this?

    int main()
    {
    if(printf(“Hello World!!!”)){}
    }

  15. Guildwars55
    December 28, 2010
    5:58 am

    lol use MORE than one semicolon he never said no to that

  16. FrozenIceCweam
    December 28, 2010
    6:18 am

    #include “stdio.h”
    #include “conio.h”

    #define SEMICOLON ; <– um whats that… lol (a semicolon)

    int main()
    {
    printf(“Hello World!”) SEMICOLON
    }

  17. AlecIngen
    December 28, 2010
    6:59 am

    This is the sourcecode:

    #include “stdio.h”
    #include “conio.h”

    #define SEMICOLON ;

    int main()
    {
    printf(“Hello World!”) SEMICOLON
    }

  18. lotios611
    December 28, 2010
    7:57 am

    My solution: Use Lua!

  19. soryy708
    December 28, 2010
    8:53 am

    I solved just before I saw this vid… -.-

  20. axeshredstorm69
    December 28, 2010
    9:14 am

    He’s using Dev C++, programming in C.

  21. samirnavy
    December 28, 2010
    9:51 am

    Basically the letters “A” to “Z” has the value of 65 to 90 while the letters “a” to “z” has the value of 97 to 122 in ASCII code. Try the C++ program based on this on your own. you can use the command count to display each caracter witout using semicolons

  22. kandelbiz
    December 28, 2010
    10:10 am

    I have sent you the program.

  23. axeshredstorm69
    December 28, 2010
    10:57 am

    answer:
    open notepad and type this:

    @echo off
    echo Hello World!!!
    pause >nul
    exit

    there, no semicolons lol
    save it as challenge.bat
    compile it with bat to exe converter

    LOL JK
    XD
    keep on rockin’ on, thenewboston!

  24. ENIGMATICxFEAR
    December 28, 2010
    11:03 am

    sorry but i havn’t been keeping up with he challenges; what program are you using

    ctt?

  25. MurderedAnimalFood
    December 28, 2010
    11:20 am

    Alright I bit on challenge two, I’m posting my vid now.

You must be logged in to post a comment.

Powered by Yahoo! Answers