Modify c and cpp snippets