Abstract
In addition to the constructor functions and operators already discussed, there exist further LINT functions that make the C functions developed in Part I available to LINT objects. In the following discussion we make a rough separation of the functions into the categories “arithmetic” and “number-theoretic.” The implementation of the functions will be discussed together with examples; otherwise, we shall restrict ourselves to a table of information needed for their proper use. We shall give more extensive treatment in the following sections to the functions for the formatted output of LINT objects, for which we shall make use of the properties of the stream classes contained in the C++ standard library. Possible applications, in particular for formatted output of objects of user-defined classes, are given rather short shrift in many C++ textbooks, and we are going to take the opportunity to explicate the construction of the functions needed to output our LINT objects.
Please accept my resignation. I don’t want to belong to any club that will accept me as a member.
—Groucho Marx
Every time I paint a portrait I lose a friend
—John Singer Sargent
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2013 Michael Welschenbach
About this chapter
Cite this chapter
Welschenbach, M. (2013). The LINT Public Interface: Members and Friends. In: Cryptography in C and C++. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-5099-9_15
Download citation
DOI: https://doi.org/10.1007/978-1-4302-5099-9_15
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4302-5098-2
Online ISBN: 978-1-4302-5099-9
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books