June 2025
Intermediate to advanced
837 pages
24h 50m
English
As an example of a command-line application, we want to create an application that provides calculation tasks for the four basic arithmetic operations and checks the results you enter. In the following sections, you’ll implement such an application step by step and see what options are available to you on the command line.
Normally, a command-line application has at least two subdirectories:
libThe lib directory contains the actual application. Depending on the size of the tool, you can distribute the source code across several files and subdirectories. As an alternative to the name lib, you can also name this directory src. Both variants are quite commonly ...
Read now
Unlock full access