C++ Standard 16 ibrary header Explanation files iostream> Contains function prototypes for the c++ standard input and standard output functions This header file replaces header file <iostream h> This header is discussed in detail in <loman p> Contains function prototypes for stream manipulators that format streams of data. This header file replaces header file <iomanip. h>. This header is used in Chapter 26, Stream Input/Output <cmath> Contains function prototypes for math library functions. 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. This header file repla <stdlib> <ctime> Contains function prototypes and types for manipulating the time and date. This header file replaces header file <time.h> <vector These header files contain classes that implement the C++ <list> Standard Library containers. Containers store data during a <deque> program s execution <queue> <stacky <map>, <set> Fig. 18.2 C++ Standard Library header files. (Part 1 of 3. o 2007 Pearson Education, Inc. All rights reserved
© 2007 Pearson Education, Inc. All rights reserved. C++ Standard 16 Library header files Explanation <iostream> Contains function prototypes for the C++ standard input and standard output functions. This header file replaces header file <iostream.h>. This header is discussed in detail in Chapter 26, Stream Input/Output. <iomanip> Contains function prototypes for stream manipulators that format streams of data. This header file replaces header file <iomanip.h>. This header is used in Chapter 26, Stream Input/Output. <cmath> Contains function prototypes for math library functions. 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. This header file replaces header file <stdlib>. <ctime> Contains function prototypes and types for manipulating the time and date. This header file replaces header file <time.h>. <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. Fig. 18.2 | C++ Standard Library header files. (Part 1 of 3.)
C++ Standard Library header Explanation files <ectype> Contains function prototypes for functions that test characters for certain properties(such as whether the character is a digit or punctuation), and function prototypes for functions that can be used to convert lowercase letters to uppercase letters and vice This header file replaces header file <ct <cstring> Contains function prototypes for C-style string-processing functions. This header file replaces header file <string.h> <typeinfo> Contains classes for runtime type identification(determining data types at execution time) <exception>, These header files contain classes that are used for exception <stdexcept> handling(discussed in Chapter 27, Exception Handling) <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 27, Exception Handling <fstream> Contains function prototypes for functions that perform input from files on disk and output to files on disk. This header file replaces header file <fstream.h> <string> Contains the definition of class string from the C++ Standard sstream> Contains function prototypes for functions that perform input from strings in memory and output to strings in memory <functional> Contains classes and functions used by C++ Standard Library algorithms Fig. 18.2 C++ Standard Library header files. ( Part 2 of 3.) o 2007 Pearson Education, Inc. All rights reserved
© 2007 Pearson Education, Inc. All rights reserved. C++ Standard 17 Library header files Explanation <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>. <cstring> Contains function prototypes for C-style string-processing functions. This header file replaces header file <string.h>. <typeinfo> Contains classes for runtime type identification (determining data types at execution time). <exception>, <stdexcept> These header files contain classes that are used for exception handling (discussed in Chapter 27, Exception Handling). <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 27, Exception Handling. <fstream> Contains function prototypes for functions that perform input from files on disk and output to files on disk. This header file replaces header file <fstream.h>. <string> Contains the definition of class string from the C++ Standard Library. <sstream> Contains function prototypes for functions that perform input from strings in memory and output to strings in memory. <functional> Contains classes and functions used by C++ Standard Library algorithms. Fig. 18.2 | C++ Standard Library header files. (Part 2 of 3.)
C++ Standard 18 Library header Explanation files <Iterator> Contains classes for accessing data in the C++ Standard library containers <algorithm> culating data in C++ Standard Library containers <cassert> Contains macros for adding diagnostics that aid program debugging. This replaces header file <assert. h> from pre <afloat> Contains the floating-point size limits of the system. This header file replaces header file <float.h> <limits> 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(.g, monetary formats, sorting strings, character presentation, and so on) <limits> Contains classes for defining the numerical data type limits on each computer pla atform <utility> Contains classes and functions that are used by many C++ Standard Library header files ig. 18.2 C++ Standard Library header files. (Part 3 of 3. o 2007 Pearson Education, Inc. All rights reserved
© 2007 Pearson Education, Inc. All rights reserved. C++ Standard 18 Library header files Explanation <iterator> Contains classes for accessing data in the C++ Standard Library containers. <algorithm> Contains functions for manipulating data in C++ Standard Library containers. <cassert> Contains macros for adding diagnostics that aid program debugging. This replaces header file <assert.h> from prestandard C++. <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, and so on). <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. Fig. 18.2 | C++ Standard Library header files. (Part 3 of 3.)