F. Creating Console Applications
Several of our online chapters use console applications that display text in and receive user input from a Command Prompt window. In this appendix, we present a simple console application that displays a line of text, then show the steps for building a console application.
F.2. A Simple Console Application
We begin by considering a simple program (Fig. F.1) that displays a line of text. When this program runs, its output appears in a Command Prompt window (also known as the Console window). We show such output in a box following the program listing. You’ll see exactly what a Command Prompt window looks like later in this section, when we guide you step-by-step through the process of creating ...