共用方式為


Overview: Creating a Console Program

OverviewHow Do IDetails

Console programs are developed with Console API functions, which provide character-mode support in console windows. The Visual C++ run-time libraries also provide output and input from console windows with standard I/O functions, such as printf() and  scanf().

This topic explains how to create the starter files and project settings for a console program. Visual C++ will create a project file for your program that you then add your own elements to. There are two steps to this process. First, you use the Console icon to create a project file and project options for your program. Next, you prepare your project for use by adding the appropiate classes and resources or by adding code to the source files (if any) created by the wizard.

What do you want to do?