Using code templates

The IDE includes another code-completion feature that can insert a template for predefined code structures, such as an empty do-while structure. If you've already used the Content Assist feature, you may have already noticed the code templates feature; you access it the same way.

Related concepts
C/C++ editor layout
Accessing source files for functions
Using hover help
Customizing the C/C++ editor
Using other editors
Related tasks
Finishing function names
Adding include directives
Adding and removing comments in code