[ create a new paste ] login | about

Link: http://codepad.org/ngiITeZ4    [ raw code | output | fork | 39 comments ]

C, pasted on Aug 20:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
    main()
    {
    int a,b,c;
    int count = 1;

    for (b = c = 10; 
    a = "- FIGURE?, UMKC,XYZHello Folks,\
    TFy!QJu ROo TNn(ROo)SLq SLq ULo+\
    UHs UJq TNn*RPn/QPbEWS_JSWQAIJO^\
    NBELPeHBFHT}TnALVlBLOFAkHFOuFETp\
    HCStHAUFAgcEAelclcn^r^r\\tZvYxXy\
    T|S~Pn SPm SOn TNn ULo0ULo#ULo-W\
    Hq!WFs XDt!"[b+++21]; )
      for(; a-- > 64 ; )
        putchar ( ++c=='Z' ? c = c/ 9:33^b&1);

    return 0;
    }


Output:
                    !!!!!!                                                     
                    !!!!!!!!!!                                                 
                     !!!!!!!!!!!!!!!                                           
                       !!!!!!!!!!!!!!                                          
                     !!!!!!!!!!!!!!!                                           
                      !!!!!!!!!!!!                                             
                      !!!!!!!!!!!!                                             
                        !!!!!!!!!!!!                                           
                        !!!!!!!!                                               
                        !!!!!!!!!!                                             
                       !!!!!!!!!!!!!!                                          
                     !!!!!!!!!!!!!!!!                                          
                    !!!!!!!!!!!!!!!!                                  !!!!!    
                  !!!!!!!!!!!!!!!!!!!                               !!!!!!!!!! 
                 !!!!!!!!!!!!!!!!!!!!!!!                 !         !!!!!!!!!!  
            !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!              !!     !!!!!!!!!!!!    
           !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!        !!      !!!!!!!!       
            !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!      
             !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!       
              !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!  !!!!!!!!!!!!       
       !!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!        !!!!!!        
      !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!      !!!!!         
          !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!        !!!          
        !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!        !          
          !!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!                       
           !!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!                         
                  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!                          
                 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!                           
                  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!                               
                  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!                               
                  !!!!!!!!!!!!!!!!!!!!!!!!!!!!                                 
                  !!!!!!!!!!!!!!!!!!!!!!!!!!                                   
                  !!!!!!!!!!!!!!!!!!!!!!!!!                                    
                   !!!!!!!!!!!!!!!!!!!!!!!!                                    
                    !!!!!!!!!!!!!!!!!!!!                                       
                    !!!!!!!!!!!!!!!!!!!                                        
                     !!!!!!!!!!!!!!!!                                          
                      !!!!!!!!!!!!!!!!                                         
                      !!!!!!!!!!!!!!!                                          
                       !!!!!!!!!!!!!!                                          
                        !!!!!!!!!!!!                                           
                        !!!!!!!!!!!!                                           
                        !!!!!!!!!!!!                                           
                          !!!!!!!!                                             
                          !!!!!!                                               
                           !!!!                                                
   


Create a new paste based on this one


Comments:
posted by ashish on Aug 2
superb!!
reply
posted by rAmpAg3 on Aug 4
Respect Dude...I'liked your concept...!!
reply
posted by rustogi on Oct 22
\m/ One of the most awesome code I have ever seen.. !!!!!RESPECT!!!!!!!
reply
posted by imrankhan.4jobs on Oct 23
mst hai :) :)

reply
posted by f2010544 on Nov 18
how can it be done without using printf ?

reply
posted by ndakota on Nov 18
using putchar
reply
posted by avi107 on Nov 20
SUPER RESPECT.
One of the greatest codes I have ever seen.
reply
posted by shri.shrichavan on Feb 3
explain it dude...
reply
posted by harshaldjain on Feb 3
wow! wonderful.
reply
posted by neuraxis on Feb 5
Andamans :(
reply
posted by bharat.mumbaikar@gmail.com on Mar 27
Awesome..
reply
posted by geeksbol on May 8
How does it print without using any header file?
reply
posted by viks.hardas on Jul 8
-/\- Respect...!!!
reply
posted by BlooDragoon on Jul 8
Can u explain it plz...
reply
posted by nitin.goalla39@gmail.com on Jul 9
super like...would be gr8 if xplaind.!
reply
posted by spamalot on Aug 6
It should have been
for(; a --> 64 ; )
for more dark magic
reply
posted by xin2893 on Aug 7
just change 33 to 34,you can find other
reply
posted by hehehuh on Aug 7
But does it show kashmir as a part of india?

Dun dun dun dun......
reply
posted by nilukush on Aug 7
love it!
reply
posted by Technologist on Aug 8
Why "int count = 1;" ?!
reply
posted by asif1 on Aug 11
Nise.there is logical error . b/c we are not a part of india . you can use it for security prpus . who come from whare. remove logical error and upload it agan . good job , continue it

reply
posted by vijayraj34 on Aug 15
patriotism using codes, feels proud man...
reply
posted by moisoto on Aug 16
Check this one: http://codepad.org/YXPkDqYl

The
cool stuff is the formula used in the putchar, everything else is just spaghetti code. This version is easier to understand and more properly coded.

I suppose the guy that made the original code made it messy on purpose just to make it harder to understand.
reply
posted by moisoto on Aug 17
Check this one: http://codepad.org/YXPkDqYl

The
cool stuff is the formula used in the putchar, everything else is just spaghetti code. This version is easier to understand and more properly coded.

I suppose the guy that made the original code made it messy on purpose just to make it harder to understand.
reply
posted by moisoto on Aug 17
Sorry for the last two posts, the link is not working properly, please copy and past it, because the page is using the first word of the next sentence as part of the link :(
reply
posted by myuser on Aug 20
reply
posted by germanespinosa on Aug 22
The Jamaican version, with a bob marley autograph at the bottom: http://codepad.org/DCMyKIAV
reply
posted by Yimam on Nov 24

reply
posted by spamalot on Sep 26
bang bang
reply
posted by spamalot on Sep 26
gang bang
reply
posted by codered on Jul 15
Pintu is truely great!
reply
posted by sureshkaaruppasamy on Aug 19
super ...

reply
posted by vimalbabu283 on Jan 28
Excellent code and Excellent brain..

put a blank space after XYZ. Like this .......XYZ Hello.....and run the code.
reply
posted by ritaban on May 30
some one please explain how to prepare the input string.

reply
posted by Rituparnadatta on Aug 15
Interested
reply
posted by mppv1000@gmail.com on Jan 21
how many of you did this as own ?

reply
posted by Pandat1999 on May 22
The screen couldn't hold the output brother plz help me
reply
posted by kayalvizhi21393@gmail.com on May 27
its so good.but i cannot understand.pls anyone can explain this code.iam a beginner of pgm lang.
reply
posted by Mohammad.S.M on May 30
I can't imagine the way the you did that in
could you explain to please :)
reply