In a programming language, a library is a collection of subprograms used to develop software. Libraries are not independent programs, rather they are helper code used in other independent programs.
The C++ standard library contains files containing the standard functions that your program may use. Header files provide function prototypes, definitions for library functions. Let us discuss some important header files :
This header file defines types and macros needed for the standard I/O packed. When you include iostream ( iostream.h ) file in your program, this file stdio.h automatically gets included in your program. The standard I/O functions contained in stdio.h are given below :
This header file declares several string manipulation and memory manipulation routines. The functions contained in string.h are :
This header file declares prototypes for the math functions and math error handlers. The routines in math.h file perform mathematical calculations and conversions.
This header file declares several commonly used routines like conversion routines, search/sort routines, and other miscellaneous things. Some of its functions are :
This header file declares the basic C++ streams I/O routines. Some of the functions defined in it are :
This file declares the C++ streams I/O manipulation and contains macros for creating parameter manipulators. Some of its functions are :
Note : Here we mix/shuffle all header file's options with 2 colors , cause if all options is belong some color then we think some time reader confused which one he read or which one not (mistake) so, here we use 2 type colors.
It's a special area where you can find special questions and answers for CSE students or IT professionals. Also, In this section, we try to explain a topic in a very deep way.