September 2014
Intermediate to advanced
984 pages
25h 22m
English
The interface to the C++ Standard Library consists of 80 header files, 26 of which present the C standard library. It’s often difficult to remember which header files you need to include in your source code, so this material provides a brief description of the contents of each header, organized into eight categories:
The C++ Standard Library includes the entire C Standard Library. The header files are generally the same, except for two points:
<cname> instead of <name.h>.<cname> header files are in the std namespace.The following table provides a summary of the most useful functionality. Note that it’s recommended to avoid using C functionality, and instead use equivalent C++ features whenever possible.
| HEADER FILE NAME | CONTENTS |
<cassert> |
assert() macro. |
<ccomplex> |
Utilities to work with complex numbers. |
<cctype> |
Character predicates and manipulation functions, such as isspace() and tolower(). |
<cerrno> |
Defines errno expression, a ... |