ASCII art source code.

This is a discussion on ASCII art source code. within the A Brief History of Cprogramming.com forums, part of the Community Boards category; Code: #include <stdio.h> int main (void) { printf("Hello,") ;printf( /**/" \ world\ .\n\r" );int a = 0; a=a+1; a++;a=2; printf ...

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

    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,220
    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,220
    neat

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 4
    Last Post: 01-18-2008, 06:05 PM
  2. Documenting Source Code
    By jverkoey in forum A Brief History of Cprogramming.com
    Replies: 14
    Last Post: 01-04-2008, 11:18 AM
  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

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