Title: Visual Studio C++ Samples | Microsoft Learn
Open Graph Title: Visual Studio C++ Samples
Description: Learn about the samples available in the archived Visual Studio C++ samples repository on GitHub.
Open Graph Description: Learn about the samples available in the archived Visual Studio C++ samples repository on GitHub.
Opengraph URL: https://learn.microsoft.com/en-us/cpp/overview/visual-cpp-samples?view=msvc-170
Domain: learn.microsoft.com
| color-scheme | light dark |
| twitter:card | summary_large_image |
| og:type | website |
| og:image:alt | Microsoft Learn |
| og:image | https://learn.microsoft.com/en-us/media/open-graph-image.png |
| platform_id | 7f4c4278-1b8f-c6e5-ea1c-d296dae21f4c |
| scope | C++ |
| locale | en-us |
| uhfHeaderId | MSDocsHeader-CPP |
| page_type | conceptual |
| breadcrumb_path | ../_breadcrumb/toc.json |
| ROBOTS | INDEX,FOLLOW |
| manager | coxford |
| ms.date | 2025-03-25T00:00:00Z |
| ms.topic | overview |
| audience | developer |
| ms.service | visual-cpp |
| ms.tgt_pltfrm | Windows |
| ms.workload | cplusplus |
| feedback_system | Standard |
| feedback_product_url | https://developercommunity.visualstudio.com/cpp/ |
| feedback_help_link_url | https://learn.microsoft.com/en-us/answers/tags/314/cpp |
| feedback_help_link_type | get-help-at-qna |
| ms.subservice | cpp-lang |
| author | TylerMSFT |
| ms.author | twhitney |
| document_id | 6703184d-efb9-65e6-b9ef-31882e7e1e2b |
| document_version_independent_id | 27d915fa-1a40-947e-05f0-fc9413c42ad4 |
| updated_at | 2025-06-25T17:51:00Z |
| original_content_git_url | https://github.com/MicrosoftDocs/cpp-docs-pr/blob/live/docs/overview/visual-cpp-samples.md |
| gitcommit | https://github.com/MicrosoftDocs/cpp-docs-pr/blob/09a2bad79cddf3f601447e5b92a7eaee0ec071d7/docs/overview/visual-cpp-samples.md |
| git_commit_id | 09a2bad79cddf3f601447e5b92a7eaee0ec071d7 |
| monikers | msvc-180 |
| default_moniker | msvc-170 |
| site_name | Docs |
| depot_name | VS.vcppdocs |
| schema | Conceptual |
| toc_rel | toc.json |
| pdf_url_template | https://learn.microsoft.com/pdfstore/en-us/VS.vcppdocs/{branchName}{pdfName} |
| search.mshattr.devlang | cpp |
| word_count | 9901 |
| config_moniker_range | >= msvc-140 |
| asset_id | overview/visual-cpp-samples |
| moniker_range_name | 4581682a33ffa46eb75263dee4d6680e |
| item_type | Content |
| source_path | docs/overview/visual-cpp-samples.md |
| previous_tlsh_hash | 6A482C53630C76609EC16E4A7769FEA0E1F1D0CDFDA41E9808729B92D1262F73BF9493BAD70B37A02371412642B2312ED3E7DE2AC51D23CB16951D3D433465824AE677B3DA |
| github_feedback_content_git_url | https://github.com/MicrosoftDocs/cpp-docs/blob/main/docs/overview/visual-cpp-samples.md |
| markdown_url | https://learn.microsoft.com/en-us/cpp/overview/visual-cpp-samples?view=msvc-170&accept=text/markdown |
| cmProducts | https://authoring-docs-microsoft.poolparty.biz/devrel/bcbcbad5-4208-4783-8035-8481272c98b8 |
| spProducts | https://authoring-docs-microsoft.poolparty.biz/devrel/43b2e5aa-8a6d-4de2-a252-692232e5edc8 |
Links:
Viewport: width=device-width, initial-scale=1.0