Add snippets for C++