A while ago I stumbled upon a C++ gem, a set of classes that through operator overloading and possibly some preprocessor tricks, let you define variables using in-code ASCII
I believe you are after Multi-Dimensional Analog Literals
http://www.eelis.net/C++/analogliterals.xhtml