C++ Standard Library header file
reference from C++ How To Program, Deitel
Explanation
<iostream>
Contains function prototypes for the C++ standard input and standard output functions, introduced in Chapter 2, and is covered in more detail in Chapter 15, Stream Input/Output. This header file replaces header file <iostream.h>.
<iomanip>
Contains function prototypes for stream manipulators that format streams of data. This header file is first used in Section 4.9 and is discussed in more detail in Chapter 15, Stream Input/Output. This header file replaces header file <iomanip.h>.
<cmath>
Contains function prototypes for math library functions (discussed in Section 6.3). This header file replaces header file <math.h>.
<cstdlib>
Contains function prototypes for conversions of numbers to text, text to numbers, memory allocation, random numbers and various other utility functions. Portions of the header file are covered in Section 6.7; Chapter 11, Operator Overloading; String and Array Objects; Chapter 16, Exception Handling; Chapter 19, Web Programming; Chapter 22, Bits, Characters, C-Strings and structs; and Appendix E, C Legacy Code Topics. This header file replaces header file <stdlib.h>.
<ctime>
Contains function prototypes and types for manipulating the time and date. This header file replaces header file <time.h>. This header file is used in Section 6.7.
<vector>,
<list>,
<deque>,
<queue>,
<stack>,
<map>,
<set>,
<bitset>
These header files contain classes that implement the C++ Standard Library containers. Containers store data during a program’s execution. The <vector> header is first introduced in Chapter 7, Arrays and Vectors. We discuss all these header files in Chapter 23, Standard Template Library (STL).
<cctype>
Contains function prototypes for functions that test characters for certain properties (such as whether the character is a digit or a punctuation), and function prototypes for functions that can be used to convert lowercase letters to uppercase letters and vice versa. This header file replaces header file <ctype.h>. These topics are discussed in Chapter 8, Pointers and Pointer-Based Strings, and Chapter 22, Bits, Characters, C-Strings and structs.
<cstring>
Contains function prototypes for C-style string-processing functions. This header file replaces header file <string.h>. This header file is used in Chapter 11, Operator Overloading; String and Array Objects.
<typeinfo>
Contains classes for runtime type identification (determining data types at execution time). This header file is discussed in Section 13.8.
<exception>,
<stdexcept>
These header files contain classes that are used for exception handling (discussed in Chapter 16).
<memory>
Contains classes and functions used by the C++ Standard Library to allocate memory to the C++ Standard Library containers. This header is used in Chapter 16, Exception Handling.
<fstream>
Contains function prototypes for functions that perform input from files on disk and output to files on disk (discussed in Chapter 17, File Processing). This header file replaces header file <fstream.h>.
<string>
Contains the definition of class string from the C++ Standard Library (discussed in Chapter 18).
<sstream>
Contains function prototypes for functions that perform input from strings in memory and output to strings in memory (discussed in Chapter 18, Class string and String Stream Processing).
<functional>
Contains classes and functions used by C++ Standard Library algorithms. This header file is used in Chapter 23.
<iterator>
Contains classes for accessing data in the C++ Standard Library containers. This header file is used in Chapter 23, Standard Template Library (STL).
<algorithm>
Contains functions for manipulating data in C++ Standard Library containers. This header file is used in Chapter 23.
<cassert>
Contains macros for adding diagnostics that aid program debugging. This replaces header file <assert.h> from pre-standard C++. This header file is used in Appendix F, Preprocessor.
<cfloat>
Contains the floating-point size limits of the system. This header file replaces header file <float.h>.
<climits>
Contains the integral size limits of the system. This header file replaces header file <limits.h>.
<cstdio>
Contains function prototypes for the C-style standard input/output library functions and information used by them. This header file replaces header file <stdio.h>.
<locale>
Contains classes and functions normally used by stream processing to process data in the natural form for different languages (e.g., monetary formats, sorting strings, character presentation, etc.).
<limits>
Contains classes for defining the numerical data type limits on each computer platform.
<utility>
Contains classes and functions that are used by many C++ Standard Library header files.
