Added customized snippets for c and c++.