• entries
146
436
• views
198756

# Even better

177 views

This one is even better...in fact, it's soo much better that if I make it any more complex the VS2k5 compiler crashes [grin]

for(std::size_t n=(*&n=1,std::plus<int>()(??-0,1));n??'(int(2)+??-(~8)^1);(n+=??-0+2)){(n==8&&std::cout<<char(100+14)<<(char)0x6C,!(((&n)??((~0+1)&(1)])^(2<<(1<<1??'0)))?(std::cout.rdbuf()->sputc(0x64),std::endl(std::cout)):(n?(std::ostream(std::cout.rdbuf()),!(n??'1)?std::cout<<char(*((char*)&n)+100):n>1&&n<4?(0,std::cout)<<(char)108,std::cout:(n??'4&&n??'7)?(n??'6||std::cout<<'w',n!=5||(&std::cout)->rdbuf()->sputc(0x20)),std::cout:std::cout<<'o'):(std::ostream((*&std::cout).rdbuf()).rdbuf()->sputc((int)std::plus<int>()(0x40,2<<2)),std::cout)))<<"\0\x8";??>

Are those... trigraphs?

Yes! And trinary operators, and , operators and boolean logic, along with bitwise logic, and even backspace characters!

MONSTER!

## Create an account

Register a new account

×

## Important Information

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!