C++ features by examples