© 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
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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.