C++ examples