Visual C++ Samples

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

Visual C++ samples

Visual Studio samples

Windows on GitHub

Universal Windows app samples

The All-In-One code framework

Windows Desktop code samples

MFC samples

CodePlex samples

ADO code samples

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