I just came across something called Analog literals by accident and it's NOT a language extension.. Just a cool feature. Thought I'd share it.
http://www.eelis.net/C++/analogliterals.xhtml
Example:
C++ Code:int Area = TruckClass(_________________________________________________
/| | |
|| | |
.----|-----,| |
|| || ==|| |
.-----'--'| ==|| |
|)- ~| ||_________________________________________________|
| ___ | |____...==..._ >\______________________________|
[_/.-.\"--"-------- //.-. .-.\\/ |/ \\ .-. .-. //
( o )`==="""""""""`( o )( o ) o `( o )( o )`
'-' '-' '-' '-' '-').area();
And it'll calculate the area of the truck.. Weird?!
Any other language features of any language you find is cool? Hidden features? Anything?
