Abstract
This chapter describes how data are interactively input into the drawing package, that is, it describes the use of the keyboard and mouse as well as a buffer for storing keystrokes. The keyboard, mouse and buffer are implemented using classes arranged in a hierarchy in which the buffer inherits from two classes. This therefore provides an example of multiple inheritance. The buffer also provides an example of the technique of operator overloading. These classes are implemented in three general library modules, not specific to the drawing package. The first section gives an overview of the class hierarchy.
Preview
Unable to display preview. Download preview PDF.
Reference
Lance A. Levanthal 6809 Assembly Language Programming Osborne/McGraw-Hill 1981.
Author information
Authors and Affiliations
Copyright information
© 1993 R. J. Mitchell
About this chapter
Cite this chapter
Mitchell, R.J. (1993). Multiple Inheritance and Operator Overloading. In: C++ Object-Oriented Programming. Macmillan Computer Science Series. Palgrave, London. https://doi.org/10.1007/978-1-349-13173-0_7
Download citation
DOI: https://doi.org/10.1007/978-1-349-13173-0_7
Publisher Name: Palgrave, London
Print ISBN: 978-0-333-58937-3
Online ISBN: 978-1-349-13173-0
eBook Packages: EngineeringEngineering (R0)