Update C++ Language Definitions

Update the grammar rules and add some snippets.