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

Security noteSecurity Note

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

Other Resources

Visual C++ Reference