Fix c/cpp snippets