© Adam B. Singer 2017
Adam B. SingerPractical C++ Designhttps://doi.org/10.1007/978-1-4842-3057-2_5

5. The Command Line Interface

Adam B. Singer
(1)
The Woodlands, Texas, USA
 
This is a very exciting chapter. While command line interfaces (CLIs) may not have the cachet of modern graphical user interfaces (GUIs) , especially those of phones or tablets, the CLI is still a remarkably useful and effective user interface. This chapter details the design and implementation of the command line interface for pdCalc. By the end of this chapter, we will, for the first time, have a functioning (albeit feature incomplete) calculator, which is a significant milestone in our development.

5.1 The User Interface Abstraction

While we could design a fully functioning ...

Get Practical C++ Design: From Programming to Architecture 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.