This documentation is archived and is not being maintained.

Creating Command-Line Applications (C++)

Now that we have learned about the Visual Studio IDE, we are ready to start writing programs with Visual C++. The first types of application we will learn to create are command-line applications. A command-line application does not contain a graphical user interface (GUI). Typically, command-line applications read input from the console and write output to the console instead of to a graphical window.

In this section you will learn how to create both C and C++ command-line applications. You will also learn how to create standard C and C++ programs that do not use Microsoft extensions. This is useful if you want to use Visual C++ to create applications for use on other operating systems.

These topics assume that you understand the fundamentals of the C++ language.