Console Applications in Visual C++


The new home for Visual Studio documentation is Visual Studio 2017 Documentation on

The latest version of this topic can be found at Console Applications in Visual C++.

A console application accepts input and sends output to the console, which is also known as the command prompt. You can create console apps to do basic work or to perform very sophisticated tasks. You can also use a console app as a proof-of-concept demonstration of functionality that you later want to incorporate into a Windows desktop application or Universal Windows Platform App. Console apps can communicate with other desktop apps by means of pipes or other RPC mechanisms.

Walkthrough: Creating a Standard C++ Program (C++)Describes how to create a console application that users can run from the command line.
Creating a Console ApplicationProvides information about console applications.