Added basic C++ examples