In addition to the C++ language itself, the ANSI Standard defines an extensiveStandard Library (which we will often abbreviate to “the Library”). It is worth emphasizing the distinction between the language and the Library. The language defines such things as the meaning of operations on the fundamental types. For example, the language defines what is meant by:
$$\operatorname{int} \;i = 4;$$
and there is no way in which we can change the language so that this statement means something different. The Library defines things like useful classes and functions. For example, the float sqrt (float) function, declared in the header file <cmath>, returns the square root of a number of type float. If we really want to, we can omit to include the header file and define our own sqrt () function.


General Utility Complex Arithmetic Standard Library String Class Type Float 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Springer-Verlag London 2001

Authors and Affiliations

  • Derek Capper

There are no affiliations available

Personalised recommendations