May 2002
Beginner
320 pages
6h 18m
English
anExternalInterface takes care of everything in the user interface. However, for this version of the implementation, the code for restoring the calculator state from a saved tape has been removed. As mentioned in the previous lesson, this code will be reintroduced in Lesson 22.
anExternalInterface now contains everything involving communication with the outside world. None of the other classes (except aController, which always sends the SelfTest() results to cout or cerr) communicates with the outside world. Listing 20.3 shows anExternalInterface's header file.
1: #ifndef ExternalInterfaceModuleH 2: #define ExternalInterfaceModuleH 3: 4: #include "RequestModule.h" 5: ... |
Read now
Unlock full access