adding C++ examples to the >>How to Execute Code Snippets<< section