add snippets for c++