Adding C++ examples