Visual C++ Samples

 

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 Visual C++ Samples.

The Visual C++ samples listed below demonstrate different functionalities across multiple technologies.

Visual Studio samples

Windows Store app samples

The All-In-One code framework

Windows Desktop code samples

MFC samples

CodePlex samples

MFC samples on CodePlex

ADO code samples

Windows Hardware development samples

STL Samples

Important

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 provides this sample code "AS IS" with no warranties.

See Also

Visual C++ Reference