C++ programmers have access to a variety of functions from the standard C libraries, as defined in ISO/IEC 9899:1990 (known as C90). All of the functions in these libraries are defined in the std namespace.
The following is a list of standard C library functions, grouped roughly by functionality:
Alternatively, there is a list of all standard C library functions.
The functions above are defined in the following 18 header files:
When including header files for the standard C libraries, it is preferable to use the
cfile notation instead of the
file.h notation. For example, the
stdio.h header file should be included using this command:
file.h notation works, but it is mainly meant for backwards compatibility. The difference between the
file.h notation is that functions included via the
file.h notation will appear in the global namespace instead of the std namespace.