Changed some c and cpp snippets.