Chapter 14. Consoles

There are many situations in which an application does not require a full-blown graphical user interface. For example, most of the programs presented in this book are strictly text programs that produce text output in the command window. The terminal emulator presented in Chapter 11 is another example of this. The 32-bit API provides a facility called consoles that is useful in these situations.

Consoles are a convenience: They manage a two-dimensional array of characters for you and automatically handle input and display. Thus they make it very easy to create character-mode applications. If you write a text program that runs on the command line and uses cin and cout, you are using the API's console capabilities implicitly. ...

Get Win32 System Services: The Heart of Windows® 98 and Windows® 2000 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.