Inner C++

This page lists some nifty tricks I discovered with C++ and also a couple of subtle things I once faced.

Digraphs and trigraphs

Want to impress your friends with cryptic code? Here is how: the C++ compiler replaces some sequences of two characters (digraphs) by a predefined character. So the following piece of code will compile!