GLProgramming.com

home :: about :: development guides :: irc :: forums :: search :: paste :: links :: contribute :: code dump

-> Click here to learn how to get live help <-


New Paste :: Recent Pastes:: No Line Numbers


Obfuscated inline string float by DELTRON
1
 
// Obfuscated inline string float - DELTRON 6/4/04

#define flt 123.456f

#include <stdio.h>
#define a static
#define b static_cast
#define i int
#define f flt
#define g ((b<i>(f*_4)
#define c g-g
#define d c/_6)*_6)
#define e )*(256-16))
#define lower l
#define h ((b<i>(f*_4)/_6)

a const i _1=1,_2=10,_3=100,_4=100*_2,_5=_3*_\
3,_6=_4*_3; a i l=b<i>(f*_4)- g/_6)*_6+d)/_5)\
*_5+(g-g/_6)*_6)-(d)/_5)*_5))/_4))*_4);a char\
 version[] = {'V','e','r','s','i','o','n',' '\
 ,'0'+h)+((!g/_6))e,'0'+d)/_5)+((!d)/_5)&&!g/\
 _6))e ,'0'+(d-(d)/_5)*_5))/_4))+((!(d-(g-h*_\
6))/_5)*_5))/_4))&&!d)/_5)&&!h)e,'.','0'+(l/_\
3),'0'+((l-((l/_3)*_3))/_2),'0'+(l-((l/_3)* _\
3+((l-((l/_3)*_3))/_2)*_2))};

void main(void)
{
    printf("%s\n",version);
}