Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.
The latest version of this topic can be found at <code> (Visual C++).
The <code> tag gives you a way to indicate one or more lines as code.
Syntax
<code>content</code>
Parameters
content
The text you want marked as code.
Remarks
Use <c> to indicate a portion of text should be marked as code.
Compile with /doc to process documentation comments to a file.
Example
See the <example> topic for an example of how to use the <code> tag.