Repository navigation
New Syntax
Directory actions
More options
Directory actions
More options
New Syntax
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
parent directory.. | ||||
<!--TO READ THIS HELP FILE, RIGHT-CLICK ON THE FILE NAME IN THE
SOLUTION EXPLORER PANE AND SELECT "VIEW IN BROWSER"-->
<html><head><title>CppLangFeat Sample: Language Features Overview</title></head><body><h1>CppLangFeat Sample: Language Features Overview</h1><div id="mainSection"><div id="mainBody"><div id="allHistory" class="saveHistory" onsave="saveAll()" onload="loadAll()"></div><p /><p>This sample demonstrates key concepts of new features in C++. These features are primarily added to support .NET and expose capabilities of the CLR. The sample presents short snippets of code for each language feature, which shows common ways to use the C++ syntax. The sample is meant to be built and run. For best results, using debugger breakpoints to walk through the code will help with understanding how new C++ features work.</p><div class="alert"><table width="100%" cellspacing="0" cellpadding="0"><tr><th align="left">Security Note </th></tr><tr><td><p>This sample code is provided to illustrate a concept and should not be used in applications or Web sites, as it may not illustrate the safest coding practices.</p></td></tr></table></div><h1 class="heading">To build and run this sample</h1><div id="procedureSection0" class="section"><ol><li><p>Open the solution file, C++ Language Samples.sln, in the Visual Studio development environment. </p></li><li><p>From the <b>Build</b> menu, click <b>Build Solution</b>.</p></li><li><p>From the <b>Debug</b> menu, click <b>Start</b>.</p></li></ol></div><h1 class="heading">Requirements</h1><div id="requirementsSection" class="section"></div><h1 class="heading">Demonstrates</h1><div id="demonstratesSection" class="section"><p>Generics, finalization, and partial template specialization.</p></div><h1 class="heading">How it Works</h1><div id="sectionSection0" class="seeAlsoNoToggleSection"><p>Each file in the sample shows off a new feature of the C++ language. When the sample is run, each feature is used in turn, and output from that file is displayed.</p></div></div><div id="footer"><div class="footerLine"></div>
© Microsoft Corporation. All rights reserved. Send <a href="mailto:DevDocs@microsoft.com?subject=Documentation Feedback :CppLangFeat Sample: Language Features Overview">comments</a> about this topic to Microsoft.
</div></div></body></html>