Update cpp.snip

fixed some snippets