Add c and cpp snippets