Thread: ASCII art source code.

  1. #1
    Registered User
    Join Date
    Jan 2002
    Location
    Vancouver
    Posts
    2,212

    Wink ASCII art source code.

    Code:
        #include <stdio.h>
      int main   (void)
    { printf("Hello,")
    ;printf(
    /**/" \
    world\
    .\n\r"
    );int
    a = 0;
    a=a+1;
    a++;a=2;
     printf (" "); a++ ;
     a = a+ 5/2 + a; a=5; 
       a = 999; return 0;}
    Yeah, this one is pretty crap. Submit your own!

  2. #2
    5|-|1+|-|34|) ober's Avatar
    Join Date
    Aug 2001
    Posts
    4,429
    you really do have absolutely NOTHING to do, don't you?

  3. #3
    Registered User
    Join Date
    Jan 2002
    Location
    Vancouver
    Posts
    2,212
    Originally posted by ober5861
    you really do have absolutely NOTHING to do, don't you?
    If you had something to do, would you be replying?

  4. #4
    Registered User alex's Avatar
    Join Date
    Sep 2001
    Posts
    132
    This is not my own...

    Code:
    #define fine #define de #define/**/ /**/*#define*/
    #define de #define
    #define do de
    
    do { begin
    do you like (green eggs and ham++)?
    do you eat them: in a box?
    do you eat them with a fox?0
    do } end
    
    fine
    fine, just fine.
    
                        /*@@@@@@@@@@@@=___
                       /@@@@@@@@@@@@@@@@@@@a
                       @@@@@@@@@@@@@@@@@@@@@
                       |@@@@@@@@@@@@@@@@@@@@
                        @@@@@@@@@@@@@@@@@@@@
                         \@=~         ~~@@@/
                          \               /
                           \              |
                           /@@@@@===__    |
                           @@@@@@@@@@@@==/
                          /@@@@@@@@@@@@@@
                          @@@@@@@@@@@@@@@
                         / ~~~====@@@@@@
                        /           ~~~/
                       |              /
                      /____          |
                     @@@@@@@@=====__/
                    @@@@@@@@@@@@@@@@
                   /@@@@@@@@@@@@@@@
                  /@@@@@@@@@@@@@@@|
              ___/        ~~~~@@*/
       char groo(p,q)int p;int q;{return
    ((char)          (--q*q+   (p/10)*q+--p))
           ;          }void grem /**/  (){ int x=0
         ;             printf("   ")
         ;/**/   /**/    for(;x<16
        ;                x++)printf
       (                 "%c",groo(x
       ,    8))            ;printf
       (                   "\n\n")
      ;                  }void cred(a
     )                   int a;{int
                        x=0;printf
     (                  "%c  "
     , /*_____===~*/  groo(a,8))
      ;             for(;x<16
       ;           x++)printf
        (         "%c",(char)
          a*16+ x);printf(
           "\n");}main(a
              ,b)int a;
     char **b   ;{int        x=2;
        do(x=0;x<4;x++)exit(0);
      for(grem();x<1<<3+(int)b[0]
    [0]%2;)cred            (++x-1);}
    http://www.ioccc.org/1996/gandalf.c

  5. #5
    Registered User
    Join Date
    Jan 2002
    Location
    Vancouver
    Posts
    2,212
    neat

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 4
    Last Post: 01-18-2008, 07:05 PM
  2. Documenting Source Code
    By jverkoey in forum A Brief History of Cprogramming.com
    Replies: 14
    Last Post: 01-04-2008, 12:18 PM
  3. ASCII code goes into minus
    By Degenko in forum C Programming
    Replies: 4
    Last Post: 05-26-2007, 12:35 PM
  4. Search for patterns in source code
    By MiamiCuse in forum A Brief History of Cprogramming.com
    Replies: 3
    Last Post: 10-23-2005, 11:28 PM
  5. learning to work with SDKs & source code out there...
    By psasidisrcum in forum C++ Programming
    Replies: 3
    Last Post: 05-14-2005, 09:26 PM