add cpp snippets