If I recall correctly, I saw some ungodly C++ library that let you type ASCII-art shapes in C++ programs and treat them as objects. Something like this:
int area = someFreakyClass(o-----o
| |
o-----o).area();
What was this library called?
Analog Literals by Eelis.
Improved version of Analog Literals:
Tweaking Analog Literals (C++ humor)
Something like this:
int area = someFreakyClass(_________________________________________________
/| | |
|| | |
.----|-----,| |
|| || ==|| |
.-----'--'| ==|| |
|)- ~| ||_________________________________________________|
| ___ | |____...==..._ >\______________________________|
[_/.-.\"--"-------- //.-. .-.\\/ |/ \\ .-. .-. //
( o )`==="""""""""`( o )( o ) o `( o )( o )`
'-' '-' '-' '-' '-').area();
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With