Weekend Programming Challenge – Week 23 – Evil code solutions


Image

We got 6 solutions all written in C, so I nominate this Language for the most evil language🙂

https://github.com/OLIMEX/WPC/tree/master/ISSUE-23

5 Comments (+add yours?)

  1. Spas
    Sep 09, 2013 @ 16:16:06

    Actually mine is in C#🙂 (as correctly noted in github)

    Reply

  2. Laurent
    Sep 09, 2013 @ 17:32:12

    The readme.md title of the github directory (“ISSUE #22 – Plagiarism detector”) is evil😉

    Reply

  3. Emmanuel Deloget
    Sep 13, 2013 @ 23:32:17

    Damned, I knew I missed something.

    #include

    #define while(cond) while(cond);
    #define for(explist) for(explist);

    int main(void)
    {
    for (int i=0; i<10; ++i) {
    printf("10 lines are to be printed. Maybe.\n");
    }

    while (1) {
    printf("I want to loop!\n");
    }
    return 0;
    }

    Reply

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: