Tagged:  •    •    •    •  

Unter dem Pseudonym Eelis hat jemand eine möglichkeit publiziert in C++ mittels Ascii-Art Datentypen anzulegen. Vorallem wenn man sich mal den Quellcode anschaut fällt mir dazu nur eins ein:

Schwarze Magie

Beispiel gefällig? Bitte sehr:


  unsigned int c = ( o-----o
                     |     !
                     !     !
                     !     !
                     o-----o ).area;

[via #gentoo-anfaenger]

Reply

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img> <ins> <del> <blockquote> <abbr> <br> <pre> <p>
  • You can use Markdown syntax to format and style the text. Also see Markdown Extra for tables, footnotes, and more.
  • Lines and paragraphs break automatically.
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>. Beside the tag style "<foo>" it is also possible to use "[foo]".

More information about formatting options