Visual C++ 示例Visual C++ Samples

下面列出的 Visual C++ 示例演示跨多种技术的不同功能。The Visual C++ samples listed below demonstrate different functionalities across multiple technologies.

Visual Studio 示例Visual Studio samples

Windows on GitHubWindows on GitHub

Universal Windows app samples(通用 Windows 应用示例)Universal Windows app samples

一站式代码框架The All-In-One code framework

Windows 桌面代码示例Windows Desktop code samples

MFC 示例MFC samples

CodePlex 示例CodePlex samples

CodePlex 上的 MFC 示例MFC samples on CodePlex

ADO 代码示例ADO code samples

Windows 硬件开发示例Windows Hardware development samples


此代码示例旨在阐释一个概念,并且仅显示与此概念相关的代码。This sample code is intended to illustrate a concept, and it shows only the code that is relevant to that concept. 该代码可能不符合特定环境的安全要求,因此不应原样搬用所显示的代码。It may not meet the security requirements for a specific environment, and it should not be used exactly as shown. 我们建议你添加安全性代码和错误处理代码,以使项目更加安全可靠。We recommend that you add security and error-handling code to make your projects more secure and robust. Microsoft“按原样”提供此代码示例,不做任何保证。Microsoft provides this sample code "AS IS" with no warranties.