remove cpp snippets