3 ms·
Obligatory "x slides to zero": while (x --\ \ \ \ > 0) printf("%d ", x);
by marklgr 9y ago
Obligatory "x slides to zero":
while (x --\
\
\
\
> 0)
printf("%d ", x);
- TeMPOraL 9y agoAlso, never forget, the C++ Multi-Dimensional Analog Literals: assert( ( o-------------o |L \ | L \ | L \ | o-------------o | ! ! ! ! ! o | ! L | ! L | ! L| ! o-------------o ).volume == ( o-------------o | ! ! ! ! ! o-------------o ).area * int(I-------------I) ); http://www.eelis.net/C++/analogliterals.xhtml http://www.eelis.net/C++/analogliterals.xhtml
- Longhanks 9y agoThis is some serious black magic. I cannot wrap my head around the fact that this is valid C++...
- blattimwind 9y agoThese are "just" some free symbols (o, I, L) used with overloaded operators (!, |, --). The rest is pretty formatting with whitespace which isn't relevant to functionality.